More yum commands

This commit is contained in:
Amit Saha 2013-08-22 15:34:42 +10:00
parent edb392da7f
commit d070a5ef45
1 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,12 @@
To install the latest version of a package: To install the latest version of a package:
yum install <package name> yum install <package name>
To perform a local install:
yum localinstall <package name>
To remove a package:
yum remove <package name>
To search for a package: To search for a package:
yum search <package name> yum search <package name>
@ -10,7 +16,7 @@ yum whatprovides </path/to/program>
To find the dependencies of a package: To find the dependencies of a package:
yum deplist <package name> yum deplist <package name>
To find information about an installed package: To find information about a package:
yum info <package name> yum info <package name>
List currently enabled repositories: List currently enabled repositories:
@ -20,4 +26,4 @@ To download the source RPM for a package:
yumdownloader --source <package name> yumdownloader --source <package name>
(You have to install yumdownloader first, which is installed by the (You have to install yumdownloader first, which is installed by the
yum-utils package) yum-utils package)