Install a package: rpm -ivh {rpm-file}
Upgrade package: rpm -Uvh {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}cheat sheets.
$ cheat rpm