cheat sheets.

$ cheat rpm
Install a package:                    rpm -ivh {rpm-file} [{rpm-file}] ...
Upgrade package:                      rpm -Uvh {rpm-file} [{rpm-file}] ...
Erase/remove an installed package:    rpm -ev [--nodeps] {package}
List all installed packages:          rpm -qa
Show package detail:                  rpm -qi {package}	
Show package ownership of file:       rpm -qf {/path/to/file}
Show config files for package:        rpm -qc {package-name}	
Show config files for command:        rpm -qcf {/path/to/file}
Show recently installed RPMs:         rpm -qa --last
Show package dependencies:            rpm -qpR {rpm-file}
                                      rpm -qR {package}
Version 4, updated 134 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )