I need to install .rpm package in Kali linux.

But shows command not found error.

i tried using with sudo but didn't help.

Does kali supports .rpm files? How can i install .rpm on Kali linux?

  • Which rpm package do you nee to install? Just curious! Jul 4, 2014 at 4:43

1 Answer 1


RPM packages are precompiled and built for Red Hat Based Linux Distribution and can be installed only using yum, Zypper and RPM based package managers.
Since Kali Linux is based on Debian you can not install RPM packages directly using apt or dpkg package managers.

However, you can try a utility called Alien which can convert one package format into other but this doesn't mean every RPM will work since packages link to another packages for dependencies and this can cause troubles.

To install Alien and necessary package, run this command

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

To convert a package from RPM to debian format, use this command:

$ sudo alien packagename.rpm

To install the package:

$ sudo dpkg -i packagename.deb  
  • so, those that mean i can install yum on kali and install .rpm file?
    – mhrzn
    Jul 4, 2014 at 4:06
  • No, I wouldn't recommend it . You probably could compile yum from sources but you wouldn't have any Debian compatible repositories to handle. Just try alien and install rpm you want to install or find its equivalent deb package. Jul 4, 2014 at 4:14

Not the answer you're looking for? Browse other questions tagged or ask your own question.