From Peter Pap's Technowiki
Jump to: navigation, search

YUM (Yellowdog Updater, Modified) has become the defacto standard for managing packages on CentOS, RedHat and Fedora. The benefits are obvious in that if you go to install a package, it will tell if there are any other required packages and will offer you the option of installing them. You can still use RPM (RedHat Package Manager), but of course then you're on your own when it comes to downloading and installing other required packages. Here are some useful YUM and RPM commands.


List all available packages for Installation

This command:

  yum -y list

will give you the complete list of packages that can be downloaded and installed with the yum command. Very useful for searching with 'grep'.


Using RPM to see if a package is installed

  rpm -qa package_name