next up previous contents
Next: Creating a Simple Yum Up: Getting and Installing Yum Previous: Preparing Your System for   Contents

Installing Yum

Given this, it should come as no surprise that in order to install yum, you should visit its primary website:
http://linux.duke.edu/projects/yum
and download RPMs for the latest stable version that match your installed version of rpm and python. Some of the features described in this document (support of package groups, for example) are available only in version 2. Individuals interested in participating in the development process or seeking additional support are encouraged to join the yum list on this site.

Once the appropriate rpm is downloaded, it can be installed by using a command like:

  # rpm -Uvh yum-2.0.4-1.noarch.rpm
If rpm complains about missing dependencies, try to install or upgrade the missing components or fall back to a version of yum that better matches the components you already have installed or available.

If yum is initially installed from rpm, then yum can thereafter update itself as well as everything else, so this is by far the preferable way to proceed. However, on the primary yum site there is a tarball (.tar.gz source file) and links to the public CVS repository for the project. Individuals who want to look over the sources, create their own RPM, or participate in yum development can of course download the sources and rebuild yum locally.


next up previous contents
Next: Creating a Simple Yum Up: Getting and Installing Yum Previous: Preparing Your System for   Contents
Robert G. Brown 2003-12-17