Yum is run with one of the following options:
Yum is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm.
http://www.linux.duke.edu/projects/yum/
http://www.linux.duke.edu/projects/yum/download.ptml
http://www.linux.duke.edu/projects/yum/download/2.0/yum-2.0.4-1.noarch.rpm
Yum works by providing the headers of all the rpm packages in any system repository. These headers are stored on the webserver in a subdir of the top level of the repository. The client downloads all of the headers of the packages it doesn't have installed or of packages that have been updated. It uses the headers to determine the dependencies it will need using rpm's internal dependency calculation. Once it knows what rpms it will need it downloads them and performs the transaction.