mirror of
https://github.com/cheat/cheat.git
synced 2024-11-16 08:58:28 +01:00
23 lines
No EOL
560 B
Text
23 lines
No EOL
560 B
Text
To install the latest version of a package:
|
|
yum install <package name>
|
|
|
|
To search for a package:
|
|
yum search <package name>
|
|
|
|
To find what package installs a program:
|
|
yum whatprovides </path/to/program>
|
|
|
|
To find the dependencies of a package:
|
|
yum deplist <package name>
|
|
|
|
To find information about an installed package:
|
|
yum info <package name>
|
|
|
|
List currently enabled repositories:
|
|
yum repolist
|
|
|
|
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) |