Difference WikiTechnology

Difference Between DEB and RPM

Main Difference

From individual’s standpoint, there may be not lots in these devices. The RPM and DEB codecs are every merely archive recordsdata, with some metadata related to them. They are every equally arcane, have hardcoded arrange paths and solely differ in delicate particulars. DEB recordsdata are arrange recordsdata for Debian based distributions. RPM recordsdata are arrange recordsdata for Red Hat based distributions. Ubuntu depends on Debian’s bundle deal with based on APT and DPKG. Red Hat, CentOS and Fedora are based on the outdated Red Hat Linux bundle administration system, RPM.

ADVERTISEMENTS

What is DEB?

DEB is the extension of the Debian software program program bundle format and most likely essentially the most often used title for such binary packages. DEB was developed by Bedian

What is RPM?

It is a bundle administration system. The title RPM variously refers again to the .rpm file format, recordsdata on this format, software program program packaged in such recordsdata, and the bundle supervisor itself. RPM was meant primarily for Linux distributions; the file format is the baseline bundle format of the Linux Standard Base. RPM was developed by Community & Red Hat.

Key Differences

  1. DEB recordsdata are arrange recordsdata for Debian based distributions. Rpm recordsdata are arrange recordsdata for Red Hat based distributions. There are differing types for various distributions. Each is barely completely totally different from the alternative. All are designed to make the arrange of packages less complicated on the numerous distributions. None are executable recordsdata. DEB recordsdata are used with dpkg, aptitude, apt-get. Rpm recordsdata are used with yum.
  2. Ubuntu depends on Debian’s bundle deal with based on APT and DPKG. Red Hat, CentOS and Fedora are based on the outdated Red Hat Linux bundle administration system, RPM.
  3. Each RPM has a ‘spec’ file , detailing what mannequin of the making use of its going to place in and what totally different smaller capabilities must be put in to make sure that it to function. The DEB file too is dependent upon a ‘administration file’ which could be very just like the ‘spec’ file of an RPM bundle, as a result of it defines what software program program should be put in to make sure that your aim utility to run, provides description of what you will arrange.
  4. For a really very long time,apt-get has been superior in processing the large amount of metadata truly fast whereas yum would take ages to do it. RPM moreover suffered from web sites like RPM uncover the place you’d uncover 10+ incompatible packages for numerous distributions. Apt completely hid this disadvantage for DEB packages because of all packages acquired put in from the an identical provide.
  5. DEB was developed by Bedian, RPM was developed by Community & Red Hat.
  6. In the Debian world, it is a bit more accepted to carry patches in a bundle that are not (however) upstream. In the RPM world (on the very least among the many many Red Hat derivatives) that’s frowned upon.
  7. Debian has an infinite amount of scripts which could be ready to automate an infinite portion of constructing a bundle. For occasion, making a – straightforward – bundle of a setuptool’ed Python program, is as simple as creating a number of meta-data recordsdata and working debuild. That talked about, the spec-file for such bundle in RPM format could be pretty fast and inside the RPM world, too, there’s various stuff that is automated these days.
ADVERTISEMENTS

Comparison Video

YouTube video
Harlon Moss

Harlon currently works as a quality moderator and content writer for Difference Wiki. He graduated from the University of California in 2010 with a degree in Computer Science. Follow him on Twitter @HarlonMoss