How to get RPM install in my Ubuntu Linux system? [duplicate]

Here is how you can install RPM packages on Ubuntu:

Convert RPM package to *.deb using alien and install it afterwards, i.e.

  • Install alien (and deps), its available in Debian, Ubuntu repository:

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

  • Convert rpm package using command

sudo alien -k --scripts some-rpm-package.rpm

  • Install it using this command

sudo dpkg -i some-rpm-package.deb


You don't use rpms on Ubuntu -- you use apt. Just type

sudo apt-get install git

and you'll be all set!