Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to have more than one package management system on one system?

Example: RPM, deb and .txz on the same partition of Ubuntu.

If it isn't possible, why not?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Yes, it's possible. For example, Debian includes yum and rpm in its standard repositories. Also, many programming languages have their own package management tools, used only for installing modules for that particular language – for example, I have Perl cpanm, Ruby gem, Haskell cabal and Python pip in addition to the system-wide package manager.

However, using two package managers system-wide – e.g. dpkg and rpm – will cause problems very quickly; primarily due to file conflicts when manager A attempts to install a program that has already been installed by manager B.

Also, different distributions have different packaging policies. deb packages are usually built for Debian, while rpm is primarily used by Red Hat/Fedora/CentOS, and they use different initscripts, configuration files, and program data locations. Packages using /etc/sysconfig will break on mainly-deb systems.

share|improve this answer
    
thanks for elaborating :) –  Finn O'leary Apr 21 '12 at 20:32
    
I understand it alot better now :D –  Finn O'leary Apr 21 '12 at 20:32

Your Answer

 
discard

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.