Monday 3 March 2014

How to install rpm packages on ubuntu or mint

Installing rpm packages on ubuntu, mint, or debian

The suggested method to install software or deb packages on Ubuntu/Mint linux is via Synaptic, Ubuntu Software Center/ppa, or an apt-get command from the terminal.
You might sometimes need to install rpm package to your ubuntu/mint linux/debian box, there is a utility called Alien, Alien converts an RPM package file into a Debian package file or Alien can install an RPM file directly.

Install Alien
Open your terminal CTRL+T and enter this line.
sudo apt-get install alien

Installing RPM package directly
sudo alien -i package_name.rpm

Converting the RPM file to a Debian package
sudo alien package_name.rpm

Installing the converted Debian package
sudo dpkg -i package_name.deb

For additional Help, use
alien -h