rpm

Installs the pack verbosely and printing 50 hash marks

rpm -ivh pack

Forces a pack install even if the dependencies are not met

–force

Searches all the installed packages

rpm -qa

Searches to what package a file belongs

rpm -f file

Queries all files that belong to a pack

rmp -ql pack

Queries documentation for a package

rpm -qd pack

Queries all the dependencies

rpm -qR pack

Updates an existing package

rpm -F pack

Updates pack if it exists or installs it if it doens’t exist

rpm -U pack

Erases a package

rpm -e pack

Rebuilds the RPM database if it becomes corrupt

rpm –rebuilddb

Uncategorized