How to install,upgrade, and uninstall a Linux RPM package
This article will show you to how install,upgrade, and uninstall a RPM package on Linux. For additional RPM commands such as listing all installed RPMs on the box and detailed package information such as version, date created, file listing, etc. check out How to Find All Installed RPMs in Linux.
To install a RPM
rpm -ivh [package name]
To upgrade a RPM
rpm -Uvh [package name]
To uninstall a RPM
First find the exact package name by issuing the following command:
rpm -qa | grep -i [search string]
Then begin the uninstall process by running:
rpm -Uvh [package name]