encyclopegia.org

Deb (file format)

deb is the format, as well as filename extension of the software package format for Debian and its derivatives.[src]

deb is the format, as well as filename extension of the software package format for Debian and its derivatives.[src] ==Design== Debian packages are standard Unix ar archives that include two tar archives.[src] One archive holds the control information and another contains the installable data.[src] dpkg provides the basic functionality for installing and manipulating Debian packages.[src] Generally end users don't manage packages directly with dpkg but instead use the APT package management software or other APT front-ends such as aptitude (nCurses) and synaptic (GTK).[src] Debian packages can be converted into other package formats and vice versa using alien, and created from source code using checkinstall or the Debian Package Maker.[src] Some core Debian packages are available as udebs ("micro debs"), and are typically used only for bootstrapping a Debian installation.[src] Although these files use the udeb filename extension, they adhere to the same structure specification as ordinary deb files.[src] However, unlike their deb counterparts, udeb packages contain only essential functional files.[src] In particular, documentation files are normally omitted.[src] udeb packages are not installable on a standard Debian system, but are used in Debian-Installer.[src] ==Implementation== displaying the raw data of a Debian package|right Prior to Debian 0.93, a package consisted of a file header and two concatenated gzip archives.[src] Since Debian 0.93, a deb package is implemented as an ar archive.[src] This archive contains three files in a specific order: debian-binary - A text file named debian-binary containing a single line giving the package format version number.[src] ( 2.0 for current versions of Debian).[src] control archive - A tar archive named control.tar contains the maintainer scripts and the package meta-information (package name, version, dependencies and maintainer).[src] Compressing the archive with gzip or xz and zstd is supported.[src] The file extension changes to indicate the compression method.[src] data archive - A tar archive named data.tar contains the actual installable files.[src] Compressing the archive with gzip, bzip2, lzma or xz and zstd is supported.[src] The file extension changes to indicate the compression method.[src] ===Control archive=== The control archive contents can include the following files: control contains a brief description of the package as well as other information such as its dependencies.[src] md5sums contains MD5 checksums of all files in the package in order to detect corrupt or incomplete files.[src] conffiles lists the files of the package that should be treated as configuration files.[src] Configuration files are not overwritten during an update unless specified.[src] preinst, postinst, prerm and postrm are optional scripts that are executed before or after installing or removing the package.[src] config is an optional script that supports the debconf configuration mechanism.[src] shlibs list of shared library dependencies.[src] ===Signed packages=== Debian-based distributions support OpenPGP signature verification of signed Debian packages, but most (if not all) have this feature disabled by default.[src] Instead packages are verified by signing the repository metadata (i.e.[src] Release files).[src] The metadata files in turn include checksums for the repository files as a means to verify authenticity of the files.[src] Currently there are two different implementations for signing individual packages.[src] The first is done via the debsigs / debsig-verify toolset, which is supported by dpkg.[src] The second is done through the dpkg-sig program which is not supported by dpkg, so the packages have to be manually checked with the dpkg-sig program.[src] Both formats add new sections to the ar archive to store the signature information, but the formats are not compatible with one another.[src] Neither of the modifications to the package format are listed in the official Debian handbook or man page about the binary package format.[src] ==Adoption== Debian packages are used in distributions based on Debian, such as, Linux Mint (LMDE), KDE neon, Ubuntu and many others.[src] Fink, a port of dpkg and APT to macOS, uses deb packages.[src] Nexenta OS, a discontinued OS based on OpenSolaris, included Debian package management software and the use of deb packages.[src] Debian GNU/kFreeBSD, an OS that uses a GNU based userland and the FreeBSD kernel.[src] Debian GNU/Hurd.[src] Some jailbroken iOS devices (iPhones, iPads and iPods).[src] Ipkg and Opkg, which both use .ipk packages that resemble Debian's dpkg Termux, which is a GNU environment for Android.[src] ==See also== List of archive formats dpkg wpkg CheckInstall List of software package management systems ==References== ==External links== Debian FAQ: Basics of the Debian package management system Debreate - A powerful Debian Package Builder .deb feature support Manipulating debs directly with standard utilities Anatomy of a Debian package video[src]

46 sentences · 46 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Deb (file format)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/deb-file-format. Accessed 30 November 2026.

Chicago

"Deb (file format)." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/deb-file-format.

APA

encyclopegia.org. (2026). Deb (file format). Retrieved November 30, 2026, from https://encyclopegia.org/wiki/deb-file-format

Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1340574152 · 0.5 · snapshot enwiki-001340574152

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.