Link to home
Start Free TrialLog in
Avatar of Manuel
ManuelFlag for United States of America

asked on

INSTALLING A RPM

I am trying to install Limewire in Linux. Using the RPM. However, Ineed some help to install an RPM since I have never done that. I am
using Ubuntu Linux.

Thank You
Avatar of Morcalavin
Morcalavin
Flag of United States of America image

Is there any particular reason you want limewire client?  If you just want access to files on the limewire network and other networks you could try gtk-gnutella:
sudo apt-get install gtk-gnutella

If you desperately want to install the rpm, you need to get alien:
sudo apt-get install alien

Then run:
sudo alien -k yourrpm.rpm
Avatar of NorCal2612
NorCal2612

To install an rpm type:

rpm -ivh rpm_file.rpm
Avatar of Manuel

ASKER

When I type rpm in the command line I get a message "-su: rpm: command not found". What can I do?
Avatar of ssvl
If you want to install a package you need root access

or you have that privilege

try

sudo  rpm -ivh  rpmfile
Avatar of Manuel

ASKER

I tried "sudo  rpm -ivh  rpmfile" however again I got the message "sudo: rpm: command not found"


type

updatedb

then when it finishes, type:

locate rpm
locate sudo

This should tell you where the rpm and sudo commands are located (i.e. /path/to/rpm)

Then just run,

/path/to/sudo /path/to/rpm -ivh rpmfile

but replace the /path/to parts with whatever was returned from the locate command of course.

Umm... Ubuntu does not have/use/understand/want RPM's... Morcalavin had the answer except I think it should be "sudo alien -i -k any.rpm", I have never used the k switch, but it's probably a good idea.

RPM's are Red Hat Packages, and Ubuntu is not Read Hat (I believe it's Debian based, but correct me if I'm wrong).

The program Alien converts RPM pakages into Debian pakages, vice versa and a stack of others (and the -i switch tells it to just install, rather than creating a .deb file for you to install)

Note: Sometimes even alien can not convert packages correctly, if alien fails I don't know the next step (another package as Morcalavin suggests?).

Cheers.
Avatar of Manuel

ASKER

When I try to use the sudo alien command it's not even a known command.

Also, when I do a "locate rpm" I get the long list below. However, I do not even know which path to pick.

/usr/lib/python2.4/distutils/command/bdist_rpm.py
/usr/lib/python2.4/distutils/command/bdist_rpm.pyc
/usr/share/apps/katepart/syntax/rpmspec.xml
/usr/share/icons/HighContrastLargePrint/48x48/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/HighContrastLargePrintInverse/48x48/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/LowContrastLargePrint/48x48/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/Tango/16x16/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/Tango/16x16/mimetypes/rpm.png
/usr/share/icons/Tango/22x22/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/Tango/22x22/mimetypes/rpm.png
/usr/share/icons/Tango/24x24/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/Tango/24x24/mimetypes/rpm.png
/usr/share/icons/Tango/32x32/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/Tango/32x32/mimetypes/rpm.png
/usr/share/icons/Tango/scalable/mimetypes/gnome-mime-application-x-rpm.svg
/usr/share/icons/Tango/scalable/mimetypes/rpm.svg
/usr/share/icons/gnome/16x16/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/gnome/16x16/mimetypes/rpm.png
/usr/share/icons/gnome/22x22/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/gnome/22x22/mimetypes/rpm.png
/usr/share/icons/gnome/24x24/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/gnome/24x24/mimetypes/rpm.png
/usr/share/icons/gnome/32x32/mimetypes/gnome-mime-application-x-rpm.png
/usr/share/icons/gnome/32x32/mimetypes/rpm.png
/usr/share/icons/gnome/scalable/mimetypes/gnome-mime-application-x-rpm.svg
/usr/share/icons/gnome/scalable/mimetypes/rpm.svg
/usr/share/icons/crystalsvg/128x128/mimetypes/rpm.png
/usr/share/icons/crystalsvg/16x16/mimetypes/rpm.png
/usr/share/icons/crystalsvg/22x22/mimetypes/rpm.png
/usr/share/icons/crystalsvg/32x32/mimetypes/rpm.png
/usr/share/icons/crystalsvg/48x48/mimetypes/rpm.png
/usr/share/icons/crystalsvg/64x64/mimetypes/rpm.png
/usr/share/locale-langpack/en_GB/LC_MESSAGES/rpm.mo
/usr/share/mime/application/x-rpm.xml
/usr/share/mimelnk/application/x-rpm.desktop
/usr/share/services/searchproviders/rpmfind.desktop
/usr/src/linux-headers-2.6.17-10/include/asm-arm/arch-ixp4xx/prpmc1100.h

Did you actually install alien first?
sudo apt-get install alien
ASKER CERTIFIED SOLUTION
Avatar of PuZZleDucK
PuZZleDucK

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Manuel

ASKER

Thanks I got it, and I installed Limewire.