Made trivial changes to some of the cheatsheets to make them play more nicely with colorized output.

This commit is contained in:
Chris Lane
2013-08-23 19:00:37 -04:00
parent b2159662f3
commit bbbe9193e0
4 changed files with 23 additions and 24 deletions

View File

@ -1,29 +1,28 @@
To install the latest version of a package:
# To install the latest version of a package:
yum install <package name>
To perform a local install:
# To perform a local install:
yum localinstall <package name>
To remove a package:
# To remove a package:
yum remove <package name>
To search for a package:
# To search for a package:
yum search <package name>
To find what package installs a program:
# To find what package installs a program:
yum whatprovides </path/to/program>
To find the dependencies of a package:
# To find the dependencies of a package:
yum deplist <package name>
To find information about a package:
# To find information about a package:
yum info <package name>
List currently enabled repositories:
# List currently enabled repositories:
yum repolist
To download the source RPM for a package:
# 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)
# (You have to install yumdownloader first, which is installed by the yum-utils package)