Installing RPM package in Ubuntu

Posted on Tuesday March 01, 2011 / by Eric Potvin

I recently had to use my VPN client to connect to work but for some reason the VPN didn't work correctly. After some digging, I found out I need the need to install ncui rpm package (ncui-1.2-1.i386.rpm & ncui-6.5R6.i386.rpm). Unfortunately, I wasn't able to find the Debian package (.deb) so I had to find a solution.

Alien is the answer

First, let's install alien:

sudo apt-get install alien

Now we need to convert them to .deb package.

You can convert the rpm package to a Debian package by using the following commands:

sudo alien -k rpm-package.rpm

The "-k" option will keep the version number.

One the package is converted, you can install the Debian package by using the following commands:

sudo dpkg -i deb-package.deb