LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-17-2006, 06:43 PM   #1
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Squeeze, Webmin + Virtualmin (remote dedi)
Posts: 212

Rep: Reputation: 30
Cool Installing an RPM that's not for your distro


Hello there, folks

I'm asking myself a question, and that's a question SO naive, that I actually never really thought thoroughly about it... until today when I'd need to know, and can't figure it out ^^

Simply said : what happens if you try to install an RPM that's not natively created for your distro ? I know that not all distros share the same components/system paths, or sometimes use different libs or components, so what's fit for one might not be fit for the other..
1/ Will you risk to wreak havoc in your system ?
2/ Will everything work fine with the RPM's contents being adapted to your distro ?
3/ Will there be a safety check before installation, causing you to be told that the RPM cannot be installed ?

I have an RPM for Debian/Ubuntu, while my system's Mandriva 2006. No other RPMs are available, and compiling from source would be a nightmare in the present case.
Considering that option 1/ (causing mayhem) is among the possibilities, I'd rather avoid taking the risk of testing ;-)

Thanks if you can enlighten me
 
Old 07-17-2006, 07:01 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Debian and Ubuntu don't use rpms, they use debs. You can convert a deb to an rpm using alien and it may or may not work on an rpm based system. Installing rpms from a different distro is a bit hit and miss because sometimes they will work just fine and other times they won't. With the more important system packages, you can actually break your system if you install rpms from another distro. Sometimes rebuilding source rpms helps because you can customise them for your distro.
 
Old 07-17-2006, 07:06 PM   #3
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,190

Rep: Reputation: 159Reputation: 159
1.No, but do remove it if it doesn't work.
2.Not likely. You can always remove it if doesn't work.
3.If all its listed dependencies are installed, it will install, even if it doesn't work.

PS: ...an RPM for a Debian system? Do you mind linking it?
If they have an SRPM(.src.rpm) use that one.
 
Old 07-18-2006, 01:26 AM   #4
Sabinou
Member
 
Registered: Jan 2006
Location: France
Distribution: Debian Squeeze, Webmin + Virtualmin (remote dedi)
Posts: 212

Original Poster
Rep: Reputation: 30
Oh my, sorry for the mistake ! It's true that debian RPMs would be funny.
I was thinking of Suse RPMs as a matter of fact, but I had just stumbled a minute ago on frostwire's homepage with the frustrating discovery they had .deb but not .rpm packages.

Thanks for the information, guys !

In other words, when you have an RPM that's not entirely made for your distro, it's "use at your own risk, and only if it's not a huge system app". Better know that than have doubts ^^
 
Old 07-18-2006, 11:42 PM   #5
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,190

Rep: Reputation: 159Reputation: 159
If it has an SRPM(.src.rpm) you should normally be able to install it like this:

# rpmbuild --rebuild package_name.src.rpm
# rpm -Uvh /usr/src/redhat/RPMS/i386/package_name.i386.rpm

For frostwire:

Get the linux ZIP file:
http://www.frostwire.com/

$su

#unzip -u FrostWire-4.10.9-2-AnyOS.zip -d /opt/

#chown -R root:root /opt/FrostWire

#su -

#chmod +x /opt/FrostWire/runFrost.sh

#exit

$/opt/FrostWire/runFrost.sh

Last edited by jens; 07-19-2006 at 12:29 AM.
 
  


Reply

Tags
p2p


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross distro rpm sonofamre Linux - Newbie 4 08-14-2005 03:53 PM
RPM Distro VertX Linux - General 2 06-08-2005 11:19 PM
Best rpm based distro for installing/upgrading software easily? RoaCh Of DisCor Linux - Software 16 01-16-2005 12:53 PM
rpm path confusion - distro specific rpm? gandalf2041 Linux - Software 2 04-08-2004 02:19 PM
RPM under non-rpm distro!? moisvon Linux - Software 1 11-07-2003 01:19 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration