Red Hat Yum Cheatsheet
id : r521jcn4jm
category : computer
blog : unixlinux
created : 04/22/10 - 08:02:07

Bonus
  • Find in which package is a file :
# yum whatprovides "*/<file>"

  • List all installed packages :
# yum list installed
# rpm -qa


RedHat4 up2date
  • Do not use yum on RedHat4, use up2date instead

Install a package
# up2date -i <package_name>


Extract an rpm
  • To extract whats inside an rpm :
# rpm2cpio <rpm_file> | cpio -idmv