How To Install rpm Packages In Ubuntu

I am sure that every proud Ubuntu user knows about installing .deb packages via the dpkg command in the command-line, or just by double clicking them. But, what to do when the software package you want to install is only available in the rpm format? Linoxide is here to help you!

Ubuntu uses debian packages, so we will use the Alien program to convert our rpm file to a .deb format and then run the dpkg command to install it from the terminal.

Alien is a program that can be used to convert between several different package file formats such as Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg. Before using the Alien program we need to install it with the following command.

rpm install ubuntu

1. Open a new terminal (CTRL+ALT+T) and run the following command in the terminal

sudo apt-get install alien

2. After the installation of the Alien program is finished, run the following command to convert the rpm package into a .deb package.

sudo alien package-name.rpm

3. Install the .deb package with dpkg package manager for Debian based systems.

sudo dpkg -i package-name.deb

Oltjano Terpollari 1:00 pm

About Oltjano Terpollari

Oltjano Terpollari is a very passionate computer geek studying python, linux, netcat power tools and living a binary life. He goes by the nickname Ambition and is very happy living a science life. He also loves technical blogging and sharing his knowledge with others.

Author Archive Page

Have anything to say?

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.

1 Comment

  1. Works fine, thanks!
    One small thing however, at the end the install on your system should be:
    sudo dpkg -i package-name.deb
    of course.