LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ubuntu question (https://www.linuxquestions.org/questions/linux-software-2/ubuntu-question-492773/)

Viper1991 10-16-2006 02:59 AM

Ubuntu question
 
Hello,


I recently got ubuntu linux several days ago, and I was wondering how to install an rpm file. I tried opening it with add/remove applications, and I can't think of anything else to do. Your help is greatly appreciated.



Viper

cs-cam 10-16-2006 03:26 AM

Ubuntu uses dpkg for package management so .rpm files won't work. It should come with an app called alien that will try convert the RPM you downloaded to a .deb file you can then install with dpkg.

IBall 10-16-2006 11:45 PM

What is the program that you are trying to install?

It is possible that that program is already in the Ubuntu repository. Edit the file /etc/apt/sources.list:
Code:

sudo gedit /etc/apt/sources.list
Find the lines about 1/2 way down that refer to the Universe repo. Remove the # at the beginning of the lines (there are comments that tell you what to do). Also, add the word multiverse at the end of that line. They should look somethinglike:
Code:

deb http://yourMirror.ubuntu.com dapper universe multiverse
deb-src http://yourMirror.ubuntu.com dapper universe multiverse

Now run "sudo aptitude update".

Open up the "Synaptic" package manager, and search for your program in there. Hopefully, it is, and you can just install it.

I hope this helps
--ian

Diomedes 10-17-2006 12:35 AM

No, it is much simpler than that. Just cd to the RPM, and enter "alien -i package.rpm". The -i tells alien to install the package named "package".

Viper1991 10-17-2006 12:49 AM

Well, I have the installer for iPod linux on my desktop, which is a .rpm file. I installed alein, and I still can't do anything with the package

Thanks again for your time,


Viper

Sepero 10-17-2006 01:50 AM

Quote:

Originally Posted by Viper1991
Well, I have the installer for iPod linux on my desktop, which is a .rpm file.

What is the name of the file?


All times are GMT -5. The time now is 08:44 PM.