How to install the RPM Package on Ubuntu

Ubuntu is an excellent Operating System and we can find almost any package through Software Centers or PPA but sometime the software is not available in deb/ppa but only in rpm format than we can convert the rpm file into deb format very easily using one command.

Let’s check that unison package is install or not:

unison -version

1

Suppose, we have unison package in rpm format only ūüė¶

ls

2

We need to install the Utility called Alien for RPM to DEB Conversion:

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

3

Using the following command,convert the package from rpm to deb format:

sudo alien unison-2.40.63-1.el6.rf.x86_64.rpm

4Note: unison-2.40.63-1.el6.rf.x86_64.rpm is the name of the package that we need to convert in this example!

Check the converted deb package:

ls

5

To install the converted deb package, use the following command:

 sudo dpkg -i unison_2.40.63-2_amd64.deb

6

Again check that unison package is installed now!

unison -version

7

Success :-)

Hope this will help you!

Please Remember me in your prayers!

Enjoy :-)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: