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 of | package manager |
| Author | Ian Murdoch |
| Developer | Dpkg command |
| Written on | C , C ++ , Perl |
| operating system | Unix-like , POSIX |
| Interface languages | Multilingual |
| First edition | January 1994 |
| Latest version | 1.18.25 ( June 26, 2018 ) |
| Test version | 1.19.2 ( October 8, 2018 ) |
| License | GNU GPL |
| Site | wiki.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 . 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.