Convert .rpm files to .deb files in Ubuntu

Just switch from redhat/fedora to Ubuntu and your used to rpm's? Or did you find an rpm that isnt available as a .deb file? I sure have so I thought I would share the easy process of converting rpm to deb, check it out.

To do this, install Alien using:

  sudo apt-get install alien

And convert using:

  sudo alien -k name-of-rpm-file.rpm

To install .deb packages, double click the file and click Install Package or simply:

  sudo dpkg -i name-of-created-deb-file.deb

Alternatively you can simply install rpm files, This command converts rpm to deb then installs the deb file, after it will delete the temporary .deb created.

  sudo alien -i name-of-rpm-file.rpm


No comments:

Post a Comment

Find Us On Facebook

Related Posts Plugin for WordPress, Blogger... Linux Directory