|How to Install an RPM Package on Ubuntu|
|How to - Linux|
RPM means RedHat Package Manager. Packages for RedHat systems has .rpm as extension. They can be installed on RHEL by doing an $ rpm -ivh <package_name>. Installation on Ubuntu takes place either through Synaptic Package Manager or by doing an $ sudo apt-get install <package_name>. But unfortunately, some packages are distributed as .rpm only, which cannot be directly installed on Ubuntu. This article tells you how to install a .rpm package on Ubuntu.
You have to install a utility called alien. This utility converts packages from one format to another. Changing the format and installing it does not ensure that the package will work on your system. You need to check for compatibility, plus you need to have gcc and make installed. To install alien and other supporting packages, type the following command:
To install a package in Ubuntu we need to convert the .rpm package to .deb (Debian) format. To do this type the following command:
After you convert the format, a .deb package will be created. Install this using the dpkg utility.
Thats it, you are good to go.