How to install *.rpm in Ubuntu / Debian based operating system

There are times when you need to install an application that is only available in *.rpm package in Debian GNU/Linux or Ubuntu operating system. One of the main obstacles is that Debian / Ubuntu are using *.deb based packaging system which is incompatible with RPM.

However you can easily convert RPM package to *.deb and install it afterwards, here’s how to do it :

  • Install alien, its available in Debian, Ubuntu repository
  • Convert rpm package using command “sudo alien -k some-binary-package.rpm”
  • Install it using this command “sudo dpkg -i some-binary-package.deb

That’s all about it! Have fun installing application in your application.