mirror of https://github.com/cheat/cheat.git
More yum commands
This commit is contained in:
parent
edb392da7f
commit
d070a5ef45
|
@ -1,6 +1,12 @@
|
|||
To install the latest version of a package:
|
||||
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:
|
||||
yum search <package name>
|
||||
|
||||
|
@ -10,7 +16,7 @@ yum whatprovides </path/to/program>
|
|||
To find the dependencies of a package:
|
||||
yum deplist <package name>
|
||||
|
||||
To find information about an installed package:
|
||||
To find information about a package:
|
||||
yum info <package name>
|
||||
|
||||
List currently enabled repositories:
|
||||
|
@ -20,4 +26,4 @@ To download the source RPM for a package:
|
|||
yumdownloader --source <package name>
|
||||
|
||||
(You have to install yumdownloader first, which is installed by the
|
||||
yum-utils package)
|
||||
yum-utils package)
|
||||
|
|
Loading…
Reference in New Issue