HostOnNet Blog

How to install RPM Packages on Ubuntu

Looking for Linux Server Admin or WordPress Expert? We can help.

Ubuntu Support only deb package installation, If you have some software in rpm package you can install it in Ubuntu easily. Fedora/Redhat and Mandriva support RPM packages.

In Ubuntu you can easily install softwares from Software Centers or via PPA. If any software is not available in deb/software center/ppa and it’s only available in rpm, than you can easily convert that rpm file to deb package with one command using terminal.

This RPM to DEB Conversion Utility called Alien, Which converts packages from one to the other format. It doesn’t mean that convert rpm package will always work on your system. Cause there can be problem of Dependencies or libraries.

To install Alien open Terminal (Press Ctrl+Alt+T) and run the following command

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

Now convert package from RPM format to Deb format, use the following command. Change your package name in command:

sudo alien packagename.rpm

To install the deb package enter following command:

sudo dpkg -i packagename.deb

Posted in Linux, Ubuntu

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.