LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2010, 06:47 PM   #1
forusword
Member
 
Registered: Apr 2010
Location: USA
Distribution: OpenSUSE
Posts: 70

Rep: Reputation: 15
Are Linux software packages compatible on all Linux Distributions?


I was wondering if all packages that are meant specific Linux distributions are compatible with all distributions of Linux? I think that makes sense. To simplify, for instance if I installed a minimalist Linux distribution could I still install wine or is wine based on bigger Linux distributions like Redhat Fedora and Ubuntu?
 
Old 04-04-2010, 06:52 PM   #2
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
you can install from source, but packages are pretty much distro specific... However you can use debian packages in ubuntu and mint and other debian derivatives etc...
 
Old 04-04-2010, 06:53 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
No, not usually. The vast majority of software packages out there rely on many different libraries and services within the operating system to function, and when they are compiled for a particular distribution they are built to use the specific versions of those libraries that are included with that distro. So in general, software compiled for one distribution may not work as expected (or at all) on another distribution.

The only exceptions to this are very simple programs that use the basic libraries included in any Linux OS, or programs which are statically linked to their libraries. In the case of a static program, the libraries it needs are actually built into the program itself, so it doesn't matter of the operating system includes them. But programs built in this manner are generally larger and harder to maintain, so it is usually avoided.
 
Old 04-04-2010, 06:57 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
They are not compatible. Don't go there. Packages have many pre-req's and are satisfied only on the distro, and release they were compiled for. There are a few packages, you might get away with installing on a different distro, but there are no guarantees. I have used a few .rpm packages on Mandriva. rpm's are form RedHat. Mandy uses a similar package format.

If you did start to mix packages, sooner or later you would have some very difficult to identify bugs to fix.

In short, always use packages intended for your distro and release.
 
Old 04-04-2010, 07:10 PM   #5
forusword
Member
 
Registered: Apr 2010
Location: USA
Distribution: OpenSUSE
Posts: 70

Original Poster
Rep: Reputation: 15
ok tyvm. If I use LFS, does its packages allow me a better chance at installing packages that may have been meant for specific distributions? I'm not a Linux Xpert. I can troubleshoot Linux though (and it may take hours and hours) but really, so long as I don't have to type a password for sudo, encryption, and root ten million times to do three different tasks, I don't mind troubleshooting.
To presuppose that the answer is no, other than Fedora or Ubuntu, what distros offer good stability (insofar as one might call it so) with Wine? I want to learn Linux to a greater skill level, but at the same time I'm an avid WoW player and I want to be able to play it on the same box without a dual installation.

Last edited by forusword; 04-04-2010 at 07:13 PM.
 
Old 04-04-2010, 07:14 PM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by forusword View Post
I was wondering if all packages that are meant specific Linux distributions are compatible with all distributions of Linux?
In general, no.There are some things like alien that can convert from one package manager format to another, but it is an act of desperation to go down that route. If you are lucky, it just won't work and you'll give up. If you aren't lucky, it will seem to work but you'll have a low frequency of irritating mystery problems over an extended period of time...

Using stuff provided by your distro is a much better idea.

Quote:
To simplify, for instance if I installed a minimalist Linux distribution could I still install wine or is wine based on bigger Linux distributions like Redhat Fedora and Ubuntu?
Most distros will have wine available. Normally, the next best option for something that isn't in your distro's repositories is an independent repository for your distro. Given what your package manager does for you, stick to using the package manager, if you can.

The next best option is probably to build it yourself from sources. The next best option is a package for a closely related distro. Only then, comes converting packages.
 
Old 04-05-2010, 04:56 AM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
I run Mandriva, I believe it to be more stable than Fedora. I have tried Ubuntu, Kubuntu, and Xubuntu. The are O.K. I did not find the tools that come with them to be as good as Mandriva.

I have installed Firefox from Mozilla's site VMware from sun, and Google Earth from Google. These are the types of apps that can be successfully installed from other sources. VMWare and Firefox are in the repos for Mandriva. The version of VMWare in the repos does not allow you to use USB devices on Vbox. None of these has created any instability on my system. However, I know the risks as well as anyone. I also fix ( or try to ) what ever I mess up. So there are some exceptions.

Wine will be in the repos for all major distros. So, what ever you decide to install, get it there.
 
  


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
mixing packages for different Linux distributions bikov_k Linux - Newbie 5 09-17-2004 12:04 PM
Linux-on-CD distributions, Nvidia support by them, and gaming packages- Questions! OtakuMark Linux - Games 5 02-02-2004 03:39 PM

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

All times are GMT -5. The time now is 02:43 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