Wednesday, August 20, 2008

How to install rpm package in Ubuntu?

I'm sure you might be thinking why you would need a "RPM" package to be installed on a Ubuntu machine. But trust me, you will come across this question for sure. Of course, I can understand the purpose of you being here. You are already in such a situation where you couldn't find the deb package for one of your favorite software. The only thing you found was a "RPM" package. In a Ubuntian's (person who uses Ubuntu :->) life this is a common thing.


Well you are not lost, you have a way to install a rpm package in Ubuntu.

If you are trying to install "software.rpm" in the Desktop directory you can use the following command to install the rpm package.

guest@guest-ubuntu:~/Desktop$ sudo alien -i software.rpm

You should be aware the "alien" must be already installed on your Ubuntu machine. If you don't have it already installed you can use the below command to install it:

guest@guest-ubuntu:~/Desktop$ sudo apt-get install alien

Please post in your questions or comments.

No comments: