Sunday, September 7, 2008

Howto: Convert Redhat and Fedora .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


source: http://www.ubuntu-unleashed.com/2008/03/howto-convert-redhat-and-fedora-rpm.html

No comments:

Blog Archive