Archive:Legacy/Yum73Quick

From FedoraProject

< Archive:Legacy
Revision as of 15:11, 26 March 2013 by Sparks (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

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.

Preliminaries

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 http://download.fedoralegacy.org/redhat/7.3/legacy-utils/i386/. 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.