Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are the packages interchangeable "within" Linux branches? Between branches? Where is the dividing line?

For example, within the Fedora branch there are various Desktop Environments, each with their own versions of very similar packages (text editors, terminal, file managers).

My scope of my question is intended to only include the Linux family, while I guess a more interesting question would be if unix is unix is unix :)

Bonus points for "where" answer, ie. QT Framework VS. GTK+, or RPM Package Manager as one package format among 8+ for Linux

I can gues the why. No doubt due to "programmer hubris" (^_^)

share|improve this question
Don't go cross distro tree. Slackware derivatives are notorious for using pkgtool compatable systems, but I wouldn't dream of using apt on my Zenwalk box. – new123456 Jul 22 '11 at 16:38

More often than not you can make it work, eventually.

The question is how much work you want to spend tracking down dependencies and fixing paths; You can even install RPMs from redhat into Debian's dpkg system, but it requires a bit of time to actually get everything set up and working (I've done so before, and there was actually less hairpulling than you'd think, but it's all dependent upon which packages you're trying to install).

The binary files are usually compatible (unless there's some breaking change or customization in the kernel API of the specific branch you're using), and the only real trick to making it work is getting the correct version of the necessary libraries installed and set up so that the binaries can find them. If the branches are close enough together (like Ubuntu and Debian), then I wouldn't even think twice about trying to install a debian .deb into an ubuntu system-- almost always it just works.

share|improve this answer

It depends.

Sometimes you can use Red Hat packages on Fedora and vice versa, but not always as it depends on the dependencies of the package and specific revisions. Centos should usually work on Red Hat and vice versa, as Centos is just Red Hat minus the branding.

Sometimes you can use Debian packages on Ubuntu, but not always.

In my experience though, installing packages from another distro is a sure path to madness and loss of hair. More often than not it will go bad, although that may be 6 months down the line when it comes back from the grave to get you.

share|improve this answer
+1 for "will go bad"; – xtian Jul 23 '11 at 14:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.