Introduction
RPM stands for Red Hat Package Manager. It uses a RPM database to maintain a listing of all software installed using RPM including the last version installed. There are RPM switches to install, erase, update, and query the software database. Refer to the man pages of RPM for further information. There are too many switches to discuss there. Below are the most commonly used. RPM software packages can be recognized by their extension .rpm.
Using RPM
| List of commonly used RPM commands | |
rpm -ivh package-1.0.3.i386.rpm |
Install RPM Package |
rpm -e package-1.0.3.i386.rpm |
Uninstall RPM Package |
rpm -Uvh package-1.0.3.i386.rpm |
Update RPM Package |
| rpm -Fvh package-1.0.3.i386.rpm | Freshen RPM Package |
rpm -rebuilddb |
Rebuild RPM Database |
Legend for some of the examples above:
| -v | verbose |
| -vv | very verbose |
| -h | display hash marks |






