deb (file format)

Debian package

The GNOME icon for deb files
Filename extension .deb, .udeb
Internet media type application/vnd.debian.binary-package[1]
Developed by Debian
Type of format Package management system
Container for Software package
Extended from ar archive, tarball
Website deb(5)

deb is the extension of the Debian software package format and the most often used name for such binary packages.

Design

GDebi installing a .deb package

Debian packages are standard Unix ar archives that include two tar archives optionally compressed with gzip (zlib), Bzip2, lzma, or xz (lzma2): one archive holds the control information and another contains the program data.

The accepted program for handling these packages is dpkg, most commonly via other programs such as apt/aptitude, the Ubuntu Software Center, Synaptic or Gdebi.

Debian packages can be converted into other packages and vice versa using alien, and created from source code using CheckInstall or Debian Package Maker.

Some core Debian packages are available as udebs (“micro debs”), and are typically used only for bootstrapping a Debian installation. Although these files use the udeb filename extension, they adhere to the same structure specification as ordinary deb files. However, unlike their deb counterparts, udeb packages contain only essential functional files.[2] In particular, documentation files are normally omitted. udeb packages are not installable on a standard Debian system, but are used in Debian-Installer.

Implementation

Since Debian 0.93, a deb file is implemented as an ar archive. Canonical contents of this archive are three files:

The debian-binary file must be the first entry in the archive, otherwise it will not be recognized as a Debian package.

Adoption

Debian packages are also used in distributions based on Debian, such as Ubuntu and others. They are also used in Cydia.

See also

References

External links

This article is issued from Wikipedia - version of the Wednesday, January 13, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.