Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
You use whichever package management your distribution provides. Neither is particularly superior and I haven't noticed any real differences in use apart from syntax though I have to admit I run Debian day-to-day and only use RPM based distributions in virtual machines to try them out. When I used to use RPM-based distributions dependency resolution was, how do I put it, "not quite there yet" and "dependency hell" was a common expression but I understand that that's largely a thing of the past and have seen it in Debian based distributions also.
Why are there two versions of Package Managements Debian Package Management and Redhat Package Management?
Historical reasons I'd guess. I think Debian was there first; not sure why Red Hat didn't want to use the Debian way of managing packages.
By the way there are more than two. For example Pacman in Arch Linux, or the way Gentoo does it, or Slackware's package management approach.
Quote:
When would you use Package Management instead of the other?
Personally, I would just use what my distro has built-in. Except if I created my own distro. What does LFS say?
Quote:
Is one overall better than the the other(DPM vs. RPM)? Does one have additional features that the other doesn't?
You would probably have to deep-dive into them to find features that exist in one and are unavailable or can't be emulated by the other.
One difference is that Debian not only has the deb package format but also APT. Whereas RPM-based distros have the rpm package format but not necessarily the same repository management - RHEL/Centos etc use yum, SUSE uses Zypper. So you could argue that there is less standardisation in the RPM world.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.