Saturday, 19 May 2012

Install .rpm files in Linux

As we already know, Linux based operating system has two kind of variants, Debian and Redhat. In the previous post we had just seen how to install a .deb file in a Debian system. Now let me share the installation method in Redhat variant Operating Systems.
We usually use .rpm files to do offline installation. Now assume that i have a .rpm file named chrome.rpm in my home directory,

To install the package use the following command 

rpm -i chrome.rpm

To upgrade the package 

rpm - u chrome.rpm

To uninstall the package 

rpm -e chrome.rpm

No comments:

Post a Comment