Man Pages & Cheat Sheets - yum

tags: [ packaging ]

To install the latest version of a package:

yum install

To perform a local install:

yum localinstall

To remove a package:

yum remove

To search for a package:

yum search

To find what package installs an executable:

yum whatprovides

To find the dependencies of a package:

yum deplist

To find information about a package:

yum info

List currently enabled repositories:

yum repolist

List packages matching :

yum list

To download the source RPM for a package:

yumdownloader --source

(You have to install yumdownloader first, which is installed by the yum-utils package)