World Library  
Flag as Inappropriate
Email this Article

Deb (file format)

Article Id: WHEBN0000457906
Reproduction Date:

Title: Deb (file format)  
Author: World Heritage Encyclopedia
Language: English
Subject: GetDeb, Wpkg, Ubuntu (operating system), Debian, Ar (Unix)
Collection: Archive Formats, Debian, Dpkg, Filename Extensions, Ubuntu (Operating System)
Publisher: World Heritage Encyclopedia
Publication
Date:
 

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.

Contents

  • Design 1
  • Implementation 2
  • Adoption 3
  • See also 4
  • References 5
  • External links 6

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:

  • debian-binary: deb format version number. This is "2.0" for current versions of Debian.
  • control.tar, control.tar.gz or control.tar.xz: all package meta-information. It tells dpkg what to configure when the package is being installed.
  • data.tar, data.tar.gz, data.tar.bz2, data.tar.lzma or data.tar.xz: the actual installable 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 on iOS.

See also

References

  1. ^ "Media Type Registration for vnd.debian.binary-package".  
  2. ^ http://d-i.alioth.debian.org/doc/internals/ch03.html

External links

  • Debian FAQ: Basics of the Debian package management system
  • Debreate - Debian Package Creator GUI
  • .deb feature support
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.