LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-07-2015, 03:38 PM   #1
Sha-bangs
LQ Newbie
 
Registered: Jun 2014
Distribution: many
Posts: 4

Rep: Reputation: Disabled
DPM vs. RPM Help me!!


Why are there two versions of Package Managements Debian Package Management and Redhat Package Management?

When would you use one Package Management instead of the other?

Is one overall better than the the other(DPM vs. RPM)? Does one have additional features that the other doesn't?


Last edited by Sha-bangs; 11-10-2015 at 09:09 AM.
 
Old 11-07-2015, 04:34 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
I just use whatever package manager is the default for the distro.
 
Old 11-07-2015, 04:35 PM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
1 members found this post helpful.
Old 11-07-2015, 07:54 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Sha-bangs View Post
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.
 
1 members found this post helpful.
Old 11-10-2015, 08:52 AM   #5
Sha-bangs
LQ Newbie
 
Registered: Jun 2014
Distribution: many
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks to everyone! I think with your help and some Google research, I am finding:


Both DPM and RPM are "package managers" which greatly simplify the process of installing, updating, otherwise maintaining, and removing

software. Deb files are installation files for debian based distributions. Deb files are used with dpkg, aptitude, apt-get that originated with the

Debian distro (of which Ubuntu is a variant).



RPM (RPM Package Manager) is a popular utility for installing software on Unix-like systems, particularly Red Hat Linux. Rpm files are used

with yum for the RedHat Package Manager, a similar but very different utility that originated with the Red Hat distribution. Rpm files are

installation files for Red Hat based distributions.


Prior to package managers, installing a new piece of software was a complicated process that turned off many. You had to locate its source

code, then compile and link that source into an executable binary file. The first attempt to do so usually resulted in a long string of error messages

about missing library files -- for which you had to search, install, and repeat the process. The package manager utilities made it possible to list

all these "dependencies" within a single file that also included a description, and the ready-to-run binary program file. The package manager takes

care of fetching all the needed dependencies, and also handles initial configuration of the new software. While the two different types of manager do

essentially the same job, their files are not directly interchangeable. A utility does exist for converting RPM files into the DEB format, but because

they differ significantly, in some respects, from those of Red Hat and its descendants there's no guarantee that a converted RPM file will

automatically configure things properly for the Debian standards of file location. It should be noted that not all distributions use package managers,

so if you want to learn more about the "old ways" you can try things like Slackware.
 
1 members found this post helpful.
Old 11-10-2015, 09:59 AM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Yep that's pretty much it
 
  


Reply

Tags
debian, dpms, package management, redhat, rpm



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
[ANNOUNCE] - Dpm, a linux package manager veerain Linux - Software 3 05-18-2015 08:24 AM
wrong dpm battery clock speed/how to change it? ilovepenquins Linux - Hardware 0 08-16-2014 07:46 AM
LXer: How To Setup Radeon DPM On Ubuntu Linux LXer Syndicated Linux News 0 07-30-2013 09:41 PM
LXer: Testing Radeon DPM Using Sysfs/Debugfs LXer Syndicated Linux News 0 07-07-2013 12:12 AM
installing dpm(disk pool manager), manjuvrcs Linux - Server 2 12-15-2010 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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