LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-06-2015, 09:41 AM   #1
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Any difference in rpm package of different distributions?


Is there any difference between rpm packages used in different distributions like red hat, centOS, openSuse, fedora, pcLinuxOS, mageia, mandriva etc? Can rpm used in one of these distributions be used in other distributions also? I checked on the net and at some places it is mentioned that they are essentially identical, while others say one cannot use rpm of one distribution in another. Thanks for your answers.
 
Old 12-06-2015, 10:11 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by rng View Post
Is there any difference between rpm packages used in different distributions like red hat, centOS, openSuse, fedora, pcLinuxOS, mageia, mandriva etc?
Yes.

Quote:
Originally Posted by rng View Post
Can rpm used in one of these distributions be used in other distributions also?
On mixing repos see for example https://wiki.centos.org/AdditionalRe...s/Repositories


Quote:
Originally Posted by rng View Post
I checked on the net and at some places it is mentioned that they are essentially identical, while others say one cannot use rpm of one distribution in another.
Since we have no examples it's hard to say in what context what was said and the knowledge of those that posted their comments.
 
Old 12-06-2015, 11:46 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,138

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I've done it, but the process can be complex. The rpm metadata will contain a list of dependencies, but this won't be a list of actual libraries: it will be a list of the packages on that distro which contain those libraries, and they will be differently named in different distros.

To give you an example, I have one old Windows program which I need, which is very fussy about which version of Wine it will run with. CentOS had an unacceptable one, so I needed an acceptable one from the same year, so that the dependency versions would be the same. I got another distro's rpm and it couldn't install because of unmet dependencies. So I gave the command to install the CentOS version, made a note of its missing dependencies, aborted the install, and installed the dependencies. Then I installed the wine.rpm with the "--no-deps" option. See what I mean? If this computer were bigger and faster, it would have been quicker to compile the source code.
 
Old 12-06-2015, 12:04 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Getting the .src.rpm and compiling it (on a non-Production machine obviously) for the distro + release in question also enables you to satisfy dependencies and address distro-specific paths or scripts (and ideally give back results to the community).
 
Old 12-06-2015, 01:22 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it "can" be done SOMETIMES!!!!

mostly things fonts and icons and themes have no problem
i use the the really COOL Fedora echo-icon-theme on SL6.7

and a few fedora games i have on SL

but for the MOST PART most things are NOT interchangeable
 
Old 12-06-2015, 06:56 PM   #6
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Original Poster
Rep: Reputation: 47
Thank you all. I get the point.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM vs Package Manager, result difference? skola Linux - Software 1 06-04-2013 06:01 AM
Difference of The base distributions HeavenElite Linux - Newbie 37 04-22-2011 09:29 PM
What is difference between an i386 rpm and an i686 rpm package? rajat Linux - Software 2 03-25-2007 10:55 PM
difference between distributions okok Linux - Newbie 6 04-15-2006 09:01 AM
install rpm package from other distributions xround Red Hat 5 08-31-2004 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:38 AM.

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