dpkg

dpkg
Original authorIan Murdock
DeveloperThe Debian Project
Initial releaseJanuary 1994 (1994-01)
Stable release
1.22.21  / 2 July 2025 (2 July 2025)
Preview release
1.23.2  / 28 December 2025 (28 December 2025)
Written inC, C++, Perl
Operating systemUnix-like
Available in42 languages
TypePackage manager
LicenseGPLv2
Websitewww.dpkg.org 
Repository

dpkg is the software at the base of the package management system in the free operating system Debian and its many derivatives. dpkg is used to install, remove, and provide information about .deb packages.

dpkg (Debian Package) itself is a low-level tool. Advanced Package Tool (APT), a higher-level tool, is more commonly used than dpkg as it can fetch packages from remote locations and deal with complex package relations, such as dependency resolution. Frontends for APT, like aptitude (ncurses) and synaptic (GTK), are used for their friendlier interfaces.

The Debian package dpkg provides the dpkg program, and several other programs needed for runtime functioning of the packaging system, including dpkg-deb, dpkg-split, dpkg-query, dpkg-statoverride, dpkg-divert and dpkg-trigger. It also includes the programs such as update-alternatives and start-stop-daemon. The Debian package "dpkg-dev" includes the many build tools described below.