LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2005, 12:40 PM   #1
kd7edh
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
RPM compatibility


How compatible are RPMs? Will an RPM listed for Suse 9.1 work with Suse 9.2? Or how about for 7.2?

Will an RPM made for Mandrake work for Suse? Will an RPM work on any system that has the same kernel version?
 
Old 02-14-2005, 01:05 PM   #2
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Obviously, an RPM made for your specific distro/version is best. The farther you get from that, the more likelihood for problems. I have installed RPMs built for RedHat 9 on my Mandrake 10 system and been okay, but there is never a guarantee.
 
Old 02-14-2005, 01:14 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Yes, Padma is correct. There is a reason why there are rpms for different versions of the same distro. If an rpm for your version doesn't exist, then you need to compile the software from source. If you take the chance that Padma did (which he got lucky hehe) you might corrupt some libraries which will cause breakage in your system. Trust me, it's not worth that route .

-twantrd
 
Old 02-14-2005, 01:18 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Dependencies define whether an rpm for a previous distro version will work on a newer one and vice versa. Installing rpms that are not meant for your distro is not very good practice because it can result in a broken system due to the fact that different distros tend to put things in different directories or write configuration files differently. Sometimes things will work fine, but it's always a gamble.
 
Old 02-14-2005, 01:58 PM   #5
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Quote:
Originally posted by twantrd
If you take the chance that Padma did (which he got lucky hehe) you might corrupt some libraries which will cause breakage in your system. Trust me, it's not worth that route .
You better believe I was lucky!
Quote:
Originally posted by reddazz
Sometimes things will work fine, but it's always a gamble.
The way I minimize the gamble, is to research very carefully what goes into the rpm, and what dependencies it has. But it is STILL a gamble! I do it very rarely, and generally only as a last resort. I prefer to compile from source over using a "wild" rpm.
 
Old 02-14-2005, 02:25 PM   #6
kd7edh
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
To me it would seem that this problem would be a high priority to be fixed with Linux.

Windows may not be very generally stable, but you can run just about any program in Windows 95, 98, ME, NT, 2000, XP, 2003, etc.
 
Old 02-14-2005, 02:50 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by kd7edh
To me it would seem that this problem would be a high priority to be fixed with Linux.

Windows may not be very generally stable, but you can run just about any program in Windows 95, 98, ME, NT, 2000, XP, 2003, etc.
If you compare Windows and Linux in this way you would be making a grave error. Windows uses more or less the same code base with differences in Win95/98/ME and NT/XP and thus most programs will work on previous versions or possibly even future versions. With Linux this is different because each Linux based operatiing system is unique and the only thing that they probably have in common is that they use the Linux kernel and the gnu tool chain.
 
Old 02-14-2005, 03:51 PM   #8
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Quote:
Originally posted by kd7edh
To me it would seem that this problem would be a high priority to be fixed with Linux.

Windows may not be very generally stable, but you can run just about any program in Windows 95, 98, ME, NT, 2000, XP, 2003, etc.
Actually, most programs I ran in Win95, 98, and ME fail to work in Win2000 or XP. I have to buy *new versions* that are compatable. (And "compatability mode" isn't. )
 
Old 02-14-2005, 05:34 PM   #9
kd7edh
LQ Newbie
 
Registered: May 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
With Linux this is different because each Linux based operatiing system is unique and the only thing that they probably have in common is that they use the Linux kernel and the gnu tool chain. [/B]
So as long as you are within the same distribution the RPM should work then?
 
Old 02-14-2005, 09:46 PM   #10
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
In theory yes. However, even installing/upgrading the correct version for the rpm things can still break as libraries will get updated and if some applications require this specific version library then uhhh....you know the answer. But most of the time it will work. I have came across very very few times in updating correct rpms that have caused problems.

-twantrd
 
Old 02-14-2005, 09:55 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Not necessarily because if you try and install a Suse 9.2 package on 7.2, it probably wont work coz it would be reliant on other newer packages that are not available on 7.2. If however you try and install a slightly older package on a newer distro e.g. one made for 9.1 on 9.2 it may work fine, but it just depends on what the package is.
 
Old 02-15-2005, 12:37 AM   #12
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Actually reddazz is correct. Sorry, I thought you meant same version distro not just distro.

-twantrd
 
  


Reply


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
Compatibility nderitualex Red Hat 2 11-02-2005 06:07 AM
RPM compatibility criffus Red Hat 1 07-21-2004 12:18 PM
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration