ServerCake India

How to Install and Uninstall packages using RPM Command

RPM command
RPM Illustration

What is RPM?

RPM  stands for Red Hat Packet Manager. It is an open source and most popular packet manager utility used in Unix/Linux like operating systems. It deals with the files that have the extension as .rpm which contains the information about the packages. The RPM command used for installing and uninstalling packages in Unix/Linux operating system is below

RPM Command used to Install and Uninstall:

1. To install a package, use the command rpm - ivh

The parameters -i installs the package, -v -verbose for a nice display, -h prints hash marks as the package archive is unpacked.

For example, to install a package named pidgin-2.7.9-5.el6.2.i686.rpm. use the command

# rpm -ivh pidgin-2.7.9-5.el6.2.i686.rpm


2. To uninstall a package use the command rpm -e

The parameter -e is used to remove the package.

For example, the command# rpm -e pidgin is used to remove the package named  pidgin-2.7.9-5.el6.2.i686.rpm.


Editorial Team

Editorial Team at ServerCake India Blog is a team of experts in Server Administration, Business Development, Management, SEO Analyst & Graphic Designers with more than 5+ years of expertise.

Add comment