Automic VaultAutomic Vault

brew

Install dpkg with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Debian package management system. Version 1.23.7 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dpkg

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dpkg

MacPorts ports tree · sysutils/dpkg/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add dpkg

Alpine Linux edge package indexes · dpkg · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install dpkg

Debian stable package indexes · dpkg · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install dpkg

Fedora Rawhide package metadata · dpkg · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#dpkg

nixpkgs package indexes · pkgs/by-name/dp/dpkg/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S dpkg

Arch Linux sync databases · dpkg · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install dpkg

openSUSE Tumbleweed package metadata · dpkg · source: download.opensuse.org

overview

Package summary

Debian package management system

Commands and aliases

  • dpkg
  • dpkg-architecture
  • dpkg-buildapi
  • dpkg-buildflags
  • dpkg-buildpackage
  • dpkg-buildtree
  • dpkg-checkbuilddeps
  • dpkg-deb
  • dpkg-distaddfile
  • dpkg-divert
  • dpkg-genbuildinfo
  • dpkg-genchanges
  • dpkg-gencontrol
  • dpkg-gensymbols
  • dpkg-maintscript-helper
  • dpkg-mergechangelogs
  • dpkg-name
  • dpkg-parsechangelog
  • dpkg-query
  • dpkg-realpath
  • dpkg-scanpackages
  • dpkg-scansources
  • dpkg-shlibdeps
  • dpkg-source
  • dpkg-split
  • dpkg-statoverride
  • dpkg-trigger
  • dpkg-vendor
  • update-alternatives

history

Project history and usage

dpkg is Debian's low-level package management system: the command suite and file formats beneath apt and Debian-family package installation. It owns core operations such as unpacking, configuring, querying, building, and inspecting .deb packages.

Project history

dpkg belongs to Debian's earliest packaging culture. Debian's official project history says Debian was founded by Ian Murdock on 16 August 1993, at a time when the idea of a Linux distribution was still new, and that Debian became micro packaged with detailed dependency information to keep systems consistent across upgrades.

The dpkg team page describes the team as responsible for dpkg and related tools used for low-level source and binary package management. The dpkg homepage identifies the project as the Debian Package Manager and points to released tarballs, historic tarballs, the git repository, specifications, API documentation, bug tracking, mailing lists, and downstream distributions.

The dpkg project's own history file records several source-control eras: CVS for dpkg 1.4.1 through 1.10.24, Arch maintenance beginning in December 2004, Subversion from January 2006 through July 2007, and Git beginning 25 July 2007. That VCS trail is part of dpkg's institutional history because it preserves the tool that preserves Debian systems.

Adoption history

dpkg's direct adoption follows Debian and its derivatives. The official Debian history describes Debian as a large volunteer distribution, and the dpkg homepage points to downstream distributions and distribution-provided packages as the normal way to obtain current dpkg releases.

In everyday use, many users interact with apt, aptitude, or graphical package managers first, but dpkg remains the local authority for .deb package installation state, package database operations, maintainer-script execution, and low-level package queries. Its command suite appears on Debian, Ubuntu, and other systems that need .deb tooling, and it is also packaged by non-Debian systems for compatibility and build workflows.

How it is used

The dpkg manpage describes dpkg as the Debian package manager. It installs, removes, and inspects packages, maintains information about available and installed packages, and can act as a frontend to dpkg-deb and dpkg-query for supported actions.

The wider dpkg package includes developer-facing commands such as dpkg-buildpackage, dpkg-source, dpkg-shlibdeps, dpkg-gensymbols, dpkg-architecture, dpkg-buildflags, and dpkg-parsechangelog, which makes it both a system package manager component and a build-tool suite for Debian packaging.

Why package nerds care

dpkg is one of the canonical package-nerd tools because it embodies the .deb model: control files, package states, maintainer scripts, conffiles, triggers, diversions, alternatives, source packages, build metadata, and dependency-aware system upgrades. For Debian-family systems, apt is the friendly planner, but dpkg is the local executor and database.

Its significance is also cultural. Debian's policy-heavy, source-package-oriented packaging ecosystem depends on dpkg behavior and companion tools. Changes to dpkg ripple into bootstrapping, cross-building, reproducible builds, multiarch behavior, maintainer scripts, and downstream distributions.

Timeline

  • 1993: Debian Project officially founded by Ian Murdock.
  • 2004: dpkg history file records the end of CVS-only maintenance around dpkg 1.10.24 and the move toward Arch.
  • 2006: dpkg history file records Subversion maintenance beginning on 18 January 2006.
  • 2007: dpkg history file records Git maintenance beginning on 25 July 2007.
  • 2025: Debian Wiki records the Dpkg team page as last modified in August 2025, listing current infrastructure, documentation, and project areas.

Related projects

  • dpkg is closely related to apt and other package-manager frontends, dpkg-deb, dpkg-query, dpkg-dev, debhelper, Debian Policy, Debian source packages, and Debian derivatives such as Ubuntu. The dpkg team page also names dpkg-repack, dpkg-www, debsig-verify, dupload, and dlocate as related maintained projects.

Sources

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/dpkg/dpkg.cfg.d/[0-9a-zA-Z_-]*/etc/dpkg/dpkg.cfg~/.dpkg.cfg

executables

Installed executables

CommandKindExposureNote
dpkgcliglobal executable
dpkg-architecturecliglobal executable
dpkg-buildapicliglobal executable
dpkg-buildflagscliglobal executable
dpkg-buildpackagecliglobal executable
dpkg-buildtreecliglobal executable
dpkg-checkbuilddepscliglobal executable
dpkg-debcliglobal executable
dpkg-distaddfilecliglobal executable
dpkg-divertcliglobal executable
dpkg-genbuildinfocliglobal executable
dpkg-genchangescliglobal executable
dpkg-gencontrolcliglobal executable
dpkg-gensymbolscliglobal executable
dpkg-maintscript-helpercliglobal executable
dpkg-mergechangelogscliglobal executable
dpkg-namecliglobal executable
dpkg-parsechangelogcliglobal executable
dpkg-querycliglobal executable
dpkg-realpathcliglobal executable
dpkg-scanpackagescliglobal executable
dpkg-scansourcescliglobal executable
dpkg-shlibdepscliglobal executable
dpkg-sourcecliglobal executable
dpkg-splitcliglobal executable
dpkg-statoverridecliglobal executable
dpkg-triggercliglobal executable
dpkg-vendorcliglobal executable
update-alternativescliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.23.7
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://wiki.debian.org/Teams/Dpkg

install metadata

Package metadata

Package keybrew:dpkg
Version1.23.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dpkg
Homepagehttps://wiki.debian.org/Teams/Dpkg
Repositoryhttps://git.dpkg.org/git/dpkg/dpkg.git
Upstream docshttps://wiki.debian.org/Teams/Dpkg
LicenseGPL-2.0-or-later
Source archivehttps://deb.debian.org/debian/pool/main/d/dpkg/dpkg_1.23.7.tar.xz
Last updated2026-06-22T14:03:11-07:00
Pulseupdated
Dependenciesgettext, gnu-tar, gpatch, libmd, perl, xz
Build dependenciespkgconf, po4a
Uses from macOSbzip2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsThis installation of dpkg is not configured to install software, so commands such as `dpkg -i`, `dpkg --configure` will fail.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedpkg
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

dpkg 1.22.22

Debian package management system

https://wiki.debian.org/Teams/Dpkg

sudo apt install dpkg
  • Section: admin
  • Architecture: amd64
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Dpkg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dpkg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

dpkg-dev 1.22.22

Debian package development tools

https://wiki.debian.org/Teams/Dpkg

sudo apt install dpkg-dev
  • Section: utils
  • Architecture: all
  • Source Package: dpkg
  • 8 dependencies
  • 1 provides
  • 20 optional deps
  • normalized package name match
  • Matched by: Dpkg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dpkg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

dselect 1.22.22

Debian package management front-end

https://wiki.debian.org/Teams/Dpkg

sudo apt install dselect
  • Section: admin
  • Architecture: amd64
  • Source Package: dpkg
  • 4 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Dpkg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dselect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdpkg-dev 1.22.22

Debian package management static library

https://wiki.debian.org/Teams/Dpkg

sudo apt install libdpkg-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dpkg
  • 5 dependencies
  • normalized package name match
  • Matched by: Dpkg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdpkg-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libdpkg-perl 1.22.22

Dpkg perl modules

https://wiki.debian.org/Teams/Dpkg

sudo apt install libdpkg-perl
  • Section: perl
  • Architecture: all
  • Source Package: dpkg
  • 2 dependencies
  • 26 optional deps
  • normalized package name match
  • Matched by: Dpkg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libdpkg-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dpkg

nix profile install nixpkgs#dpkg
  • normalized package name match
  • Matched by: Dpkg
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/dp/dpkg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dpkg 1.22.6ubuntu6

Debian package management system

https://wiki.debian.org/Teams/Dpkg

sudo apt install dpkg
  • Section: admin
  • Architecture: amd64
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Dpkg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dpkg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

dpkg-dev 1.22.6ubuntu6

Debian package development tools

https://wiki.debian.org/Teams/Dpkg

sudo apt install dpkg-dev
  • Section: utils
  • Architecture: all
  • Source Package: dpkg
  • 9 dependencies
  • 1 provides
  • 12 optional deps
  • normalized package name match
  • Matched by: Dpkg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dpkg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

dselect 1.22.6ubuntu6

Debian package management front-end

https://wiki.debian.org/Teams/Dpkg

sudo apt install dselect
  • Section: admin
  • Architecture: amd64
  • Source Package: dpkg
  • 3 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Dpkg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dselect from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libdpkg-dev 1.22.6ubuntu6

Debian package management static library

https://wiki.debian.org/Teams/Dpkg

sudo apt install libdpkg-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: dpkg
  • 5 dependencies
  • normalized package name match
  • Matched by: Dpkg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdpkg-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libdpkg-perl 1.22.6ubuntu6

Dpkg perl modules

https://wiki.debian.org/Teams/Dpkg

sudo apt install libdpkg-perl
  • Section: perl
  • Architecture: all
  • Source Package: dpkg
  • 2 dependencies
  • 18 optional deps
  • normalized package name match
  • Matched by: Dpkg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libdpkg-perl from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

dpkg 1.23.7-r0

Debian Package Manager

https://wiki.debian.org/Teams/Dpkg

sudo apk add dpkg
  • License: GPL-2.0-or-later AND BSD-2-Clause
  • Architecture: x86_64
  • Source Package: dpkg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Dpkg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dpkg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dpkg-dev 1.23.7-r0

Debian package development tools

https://wiki.debian.org/Teams/Dpkg

sudo apk add dpkg-dev
  • License: GPL-2.0-or-later AND BSD-2-Clause
  • Architecture: x86_64
  • Source Package: dpkg
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Dpkg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dpkg-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dpkg-doc 1.23.7-r0

Debian Package Manager (documentation)

https://wiki.debian.org/Teams/Dpkg

sudo apk add dpkg-doc
  • License: GPL-2.0-or-later AND BSD-2-Clause
  • Architecture: x86_64
  • Source Package: dpkg
  • normalized package name match
  • Matched by: Dpkg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dpkg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

dpkg-zsh-completion 1.23.7-r0

Zsh completions for dpkg

https://wiki.debian.org/Teams/Dpkg

sudo apk add dpkg-zsh-completion
  • License: GPL-2.0-or-later AND BSD-2-Clause
  • Architecture: x86_64
  • Source Package: dpkg
  • normalized package name match
  • Matched by: Dpkg
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dpkg-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

dpkg 1.23.7-1.fc45

Package maintenance system for Debian Linux

https://tracker.debian.org/pkg/dpkg

sudo dnf install dpkg
  • License: GPL-2.0-only AND GPL-2.0-or-later AND FSFAP AND FSFULLR
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dpkg
  • 11 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Dpkg
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dpkg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment