From Fedora Project Wiki

Quick start for using yum on Red Hat Linux 7.3

This quick start documentation expects that you're already comfortable with shell usage and RPM handling. If you're unsure about anything in this document, it is suggested that you switch over to the Detailed HowTo Instructions instead.


In order to install yum, you'll need the gnupg, python and rpm-python packages. Please make sure they're all installed.

Install yum

yum is available through the legacy-utils channel of your public repository, which you can find at Please download the latest yum package and install it on your system. yum automatically uses the correct configuration for your system (7.2 or 7.3), so you can install the above RPM on any 7.2 or 7.3 systems.

Optionally add mirror sites

You may want to configure it to use additional mirror sites which are closer to you, faster, or meet your security policy. Select a mirror from the list of mirrors and change your yum.conf accordingly.

Add the GPG keys to root's keyring

In order to properly verify the packages, you need to add the appropriate PGP keys to your root user's keyring. The keys are installed with the yum documentation as part of the RPM installation, but not imported into your keyring. To import the keys, use the following command as the root user:

Update your system

Once you have installed the yum package, you should run the following command as the root user on your system to update your system:

Decide if you want automatic updates

yum has the ability to automatically apply (download/verify/install) all updates to your system, but this feature is disabled by default. If you want to enable that functionality, please enter the following command as the root user on your system:

See this autoupdates discussion for help on deciding if autoupdates are right for you, and additional information about using them.

Subscribe to fedora-legacy-announce

You may subscribe to the fedora-legacy-announce mailing list to be informed by e-mail when new updates become available. This step is optional, but highly recommended.