Manuel
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
using Ubuntu Linux.
Thank You
To install an rpm type:
rpm -ivh rpm_file.rpm
rpm -ivh rpm_file.rpm
ASKER
When I type rpm in the command line I get a message "-su: rpm: command not found". What can I do?
If you want to install a package you need root access
or you have that privilege
try
sudo rpm -ivh rpmfile
or you have that privilege
try
sudo rpm -ivh rpmfile
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.
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.
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.
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/distuti ls/command /bdist_rpm .py
/usr/lib/python2.4/distuti ls/command /bdist_rpm .pyc
/usr/share/apps/katepart/s yntax/rpms pec.xml
/usr/share/icons/HighContr astLargePr int/48x48/ mimetypes/ gnome-mime -applicati on-x-rpm.p ng
/usr/share/icons/HighContr astLargePr intInverse /48x48/mim etypes/gno me-mime-ap plication- x-rpm.png
/usr/share/icons/LowContra stLargePri nt/48x48/m imetypes/g nome-mime- applicatio n-x-rpm.pn g
/usr/share/icons/Tango/16x 16/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/Tango/16x 16/mimetyp es/rpm.png
/usr/share/icons/Tango/22x 22/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/Tango/22x 22/mimetyp es/rpm.png
/usr/share/icons/Tango/24x 24/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/Tango/24x 24/mimetyp es/rpm.png
/usr/share/icons/Tango/32x 32/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/Tango/32x 32/mimetyp es/rpm.png
/usr/share/icons/Tango/sca lable/mime types/gnom e-mime-app lication-x -rpm.svg
/usr/share/icons/Tango/sca lable/mime types/rpm. svg
/usr/share/icons/gnome/16x 16/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/gnome/16x 16/mimetyp es/rpm.png
/usr/share/icons/gnome/22x 22/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/gnome/22x 22/mimetyp es/rpm.png
/usr/share/icons/gnome/24x 24/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/gnome/24x 24/mimetyp es/rpm.png
/usr/share/icons/gnome/32x 32/mimetyp es/gnome-m ime-applic ation-x-rp m.png
/usr/share/icons/gnome/32x 32/mimetyp es/rpm.png
/usr/share/icons/gnome/sca lable/mime types/gnom e-mime-app lication-x -rpm.svg
/usr/share/icons/gnome/sca lable/mime types/rpm. svg
/usr/share/icons/crystalsv g/128x128/ mimetypes/ rpm.png
/usr/share/icons/crystalsv g/16x16/mi metypes/rp m.png
/usr/share/icons/crystalsv g/22x22/mi metypes/rp m.png
/usr/share/icons/crystalsv g/32x32/mi metypes/rp m.png
/usr/share/icons/crystalsv g/48x48/mi metypes/rp m.png
/usr/share/icons/crystalsv g/64x64/mi metypes/rp m.png
/usr/share/locale-langpack /en_GB/LC_ MESSAGES/r pm.mo
/usr/share/mime/applicatio n/x-rpm.xm l
/usr/share/mimelnk/applica tion/x-rpm .desktop
/usr/share/services/search providers/ rpmfind.de sktop
/usr/src/linux-headers-2.6 .17-10/inc lude/asm-a rm/arch-ix p4xx/prpmc 1100.h
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/distuti
/usr/lib/python2.4/distuti
/usr/share/apps/katepart/s
/usr/share/icons/HighContr
/usr/share/icons/HighContr
/usr/share/icons/LowContra
/usr/share/icons/Tango/16x
/usr/share/icons/Tango/16x
/usr/share/icons/Tango/22x
/usr/share/icons/Tango/22x
/usr/share/icons/Tango/24x
/usr/share/icons/Tango/24x
/usr/share/icons/Tango/32x
/usr/share/icons/Tango/32x
/usr/share/icons/Tango/sca
/usr/share/icons/Tango/sca
/usr/share/icons/gnome/16x
/usr/share/icons/gnome/16x
/usr/share/icons/gnome/22x
/usr/share/icons/gnome/22x
/usr/share/icons/gnome/24x
/usr/share/icons/gnome/24x
/usr/share/icons/gnome/32x
/usr/share/icons/gnome/32x
/usr/share/icons/gnome/sca
/usr/share/icons/gnome/sca
/usr/share/icons/crystalsv
/usr/share/icons/crystalsv
/usr/share/icons/crystalsv
/usr/share/icons/crystalsv
/usr/share/icons/crystalsv
/usr/share/icons/crystalsv
/usr/share/locale-langpack
/usr/share/mime/applicatio
/usr/share/mimelnk/applica
/usr/share/services/search
/usr/src/linux-headers-2.6
Did you actually install alien first?
sudo apt-get install alien
sudo apt-get install alien
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks I got it, and I installed Limewire.
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