![]() | DEPRECATED DOCUMENT |
|---|---|
This document is no longer supported by the Fedora Documentation Project. One or more of the following situations may have occurred:
Refer to the revision history for more information. |
yum is a command line program. man yum provides the
local documentation. The basic operations are its setup, checking for
updates, and finally, looking for and installing a specific
package.
Setup is a necessary precursor to using Yum. The operation downloads all the headers for all the packages, so don't do it without thought. It will take some time to complete. Consider doing this when network traffic is low.
The setup command is yum check-update. This step loads onto your system
the headers of the packages, which can be up to 30 or 40
megabytes of data. This is an operation that is necessary, but only needs
to be done once.
After this operation, this list is updated with each update you get.
Next, get any needed updates. The command is yum
update. This command causes yum to
compare the headers you downloaded above with those on the server and
offer to update your system. A simple y response is
enough to cause yum to fetch the updates, then to install them on your
system.
Finally, if you need to run command X, and
you try it, and it isn't installed, you can tell yum to get it for you and
install it. For example:
yum install cvs
yum connects to the server, finds the named package, retrieves it, and
installs it automatically.
Refer to Appendix A, References for references and another HOWTO on Yum.