January 3, 2013

Quickguide to the most common yum and rpm commands

The first thing you probably want to learn better after have installed a RHEL or Fedora system, is how you manage your programs. And the answer to that is the command yum or rpm. Below follows a list of the most common yum and rpm commands.

Search RPM package names.

Display information about package.

Check if package is installed.

Lists all installed and available packages.

List all the files in a installed package.

List all the files in a NOT installed package.

* Note repoquery requires packages yum-utils to be installed.

Search for package that contains certain file.

Install package.

Check for updates.

Run update.

Reference:

No comments: