Clever Geek Handbook
📜 ⬆️ ⬇️

dpkg

dpkg is the software that is the backbone of the package management system in Debian and a number of other Debian-based operating systems, such as Ubuntu . dpkg is used to install, uninstall, and obtain information about. deb packages.

dpkg
Type ofpackage manager
AuthorIan Murdoch
DeveloperDpkg command
Written onC , C ++ , Perl
operating systemUnix-like , POSIX
Interface languagesMultilingual
First editionJanuary 1994
Latest version1.18.25 ( June 26, 2018 )
Test version1.19.2 ( October 8, 2018 )
LicenseGNU GPL
Sitewiki.debian.org/Teams/Dp...

dpkg is a fairly low-level utility. There are higher-level utilities, such as APT , that can download packages from a network repository and track dependencies between packages. End users should use more user-friendly utilities such as Aptitude or Synaptic , which provide an easy way to view the list of packages, their descriptions and dependencies.

Content

History

dpkg was originally created by Matt Welch , Karl Streeter and Ian Murdoch . Initially, dpkg was written in Perl , but later the main part was rewritten in C Yan Jackson in 1993. The name “dpkg” is an abbreviation for the “Debian package”.

Use

The utility can be used to install the .deb package with the command:

  dpkg -i package_name.deb

Where package_name.deb is the name of the package file (Debian packages have the extension .deb). You must run dpkg with superuser privileges (root) .

Listing installed packages:

  dpkg -l [mask]

To remove an installed package:

  dpkg -r package_name

Developer Tools

The dpkg-dev package contains a series of tools that are called to create the package:

  • dpkg-source archives and unpacks the source files of the Debian package.
  • dpkg-deb archives and unpacks binary packages.
  • dpkg-gencontrol reads information from the unpacked Debian package about the source tree and generates a binary package.
  • dpkg-shlibdeps traces package dependencies.
  • dpkg-genchanges reads information from the unpacked Debian package about the source tree.
  • dpkg-buildpackage is a script that can be used to automatically create a package.
  • dpkg-distaddfile adds the file to Debian files.
  • dpkg-parsechangelog reads information from a file with changes to the unpacked Debian package and creates a convenient file with these changes for viewing by the user.

See also

  • Advanced packaging tool
  • debhelper
  • Cdbs

Links

  • Debian - Package Search Results - dpkg (Russian) . Date of treatment October 1, 2008. Archived March 14, 2012.
  • debian-dpkg mailing list - Archive of the dpkg mailing list. Date of treatment October 1, 2008. Archived March 14, 2012.
  • dpkg (8) man . - dpkg manual. Date of treatment October 1, 2008. Archived March 14, 2012.
  • General Origin handling . Date of treatment October 1, 2008. Archived March 14, 2012.
Source - https://ru.wikipedia.org/w/index.php?title=Dpkg&oldid=100834521


More articles:

  • Nord-Ost (musical)
  • Rychber, Ryushtu
  • Holbni
  • Slaughter & The Dogs
  • Polonsky, Vladimir Ivanovich
  • Voinov, Mikhail Andreevich
  • Foxtrot
  • Fadet, Conrad
  • Union T-15
  • Hartley Formula

All articles

Clever Geek | 2019