How to Install .rpm packages in Ubuntu

July 29, 2019   |   by Jeff Christman

I love to experiment.

Not just in Windows, but also Linux. Which means I run a lot of different Operating Systems and Linux Distributions.

Sometimes I run into applications that are only available for one distribution.

Installing the software on Ubuntu is a pretty straight forward process. Usually just a few apt-get commands or clicking on the Software Center.

However, there a number of packages only available in RPM format. How do I install RPM packages in Ubuntu or other Debian based distribution?

As you might have guessed, there is a utility to convert RPM packages to DEB packages. Alien is a handy little utility to convert those RPM packages.

To install Alien, at the command prompt, type

sudo apt-get install alien dpkg-dev debhelper build-essential

Now, we can convert the package to .deb format.

sudo alien packagename.rpm

Once it has been converted, we can install the package.

sudo dpkg -i packagename.deb

There ya go.

Tags: , , ,

Leave Your Comment