rpm

1. List the contents of the rpm file.
rpm -qlp package_name.rpm
-q : query operation
-l : list the files in the package
-a : queries all installed packages

2. Install RPM package rpm -ivh package_name.rpm
-i : install a package
-v : verbose
-h : print hash marks as the package archive is unpacked.

3. Upgrade using rpm -Uvh

4. Uninstall a RPM Package using rpm -ev

5. How to install RPM in ubuntu?

sudo apt-get install alien
sudo alien my_package.rpm
sudo dpkg -i my_package.deb

 

Advertisements