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}cheat sheets.
$ cheat rpm( add new | see all )
- updated sheets

- readme
- rspec
- boyfriend
- girlfriend
- loose_weight
- nils
- administrateme
- okay
- bartleby
- xpath
- git
- sprintf
- shoulda
- nonsense
- lucene_query_syntax
Advertisement