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. RPM is an open source and most popular packet manager utility.The RPM command used for installing and uninstalling packages in Unix/Linux operating system. Here you will see, how to install and uninstall package using RPM command.
RPM Command used to Install:
-i = This parameter used to installs the package,
-v = verbose for a nice display,
-h = This command is used to prints hash marks as the package archive is unpacked.
For example, you will need to install a package named as pidgin-2.7.9-5.el6.2.i686.rpm.
So, use the below command to install package.
# rpm -ivh pidgin-2.7.9-5.el6.2.i686.rpm
To uninstall a package use the command:
The parameter -e is used to remove the package.
For example, the command is used to remove the package named pidgin-2.7.9-5.el6.2.i686.rpm.