macOS
brew install dpkglocal Homebrew formula metadata
sudo port install dpkgMacPorts ports tree · sysutils/dpkg/Portfile · 来源: api.github.com
安装
brew install dpkglocal Homebrew formula metadata
sudo port install dpkgMacPorts ports tree · sysutils/dpkg/Portfile · 来源: api.github.com
sudo apk add dpkgAlpine Linux edge package indexes · dpkg · 来源: dl-cdn.alpinelinux.org
sudo dnf install dpkgFedora Rawhide package metadata · dpkg · 来源: dl.fedoraproject.org
nix profile install nixpkgs#dpkgnixpkgs package indexes · pkgs/by-name/dp/dpkg/package.nix · 来源: api.github.com
sudo pacman -S dpkgArch Linux sync databases · dpkg · 来源: geo.mirror.pkgbuild.com
sudo zypper install dpkgopenSUSE Tumbleweed package metadata · dpkg · 来源: download.opensuse.org
概览
Debian package management system
历史
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.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/dpkg/dpkg.cfg.d/[0-9a-zA-Z_-]*/etc/dpkg/dpkg.cfg~/.dpkg.cfg可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dpkg | cli | 全局可执行文件 | |
dpkg-architecture | cli | 全局可执行文件 | |
dpkg-buildapi | cli | 全局可执行文件 | |
dpkg-buildflags | cli | 全局可执行文件 | |
dpkg-buildpackage | cli | 全局可执行文件 | |
dpkg-buildtree | cli | 全局可执行文件 | |
dpkg-checkbuilddeps | cli | 全局可执行文件 | |
dpkg-deb | cli | 全局可执行文件 | |
dpkg-distaddfile | cli | 全局可执行文件 | |
dpkg-divert | cli | 全局可执行文件 | |
dpkg-genbuildinfo | cli | 全局可执行文件 | |
dpkg-genchanges | cli | 全局可执行文件 | |
dpkg-gencontrol | cli | 全局可执行文件 | |
dpkg-gensymbols | cli | 全局可执行文件 | |
dpkg-maintscript-helper | cli | 全局可执行文件 | |
dpkg-mergechangelogs | cli | 全局可执行文件 | |
dpkg-name | cli | 全局可执行文件 | |
dpkg-parsechangelog | cli | 全局可执行文件 | |
dpkg-query | cli | 全局可执行文件 | |
dpkg-realpath | cli | 全局可执行文件 | |
dpkg-scanpackages | cli | 全局可执行文件 | |
dpkg-scansources | cli | 全局可执行文件 | |
dpkg-shlibdeps | cli | 全局可执行文件 | |
dpkg-source | cli | 全局可执行文件 | |
dpkg-split | cli | 全局可执行文件 | |
dpkg-statoverride | cli | 全局可执行文件 | |
dpkg-trigger | cli | 全局可执行文件 | |
dpkg-vendor | cli | 全局可执行文件 | |
update-alternatives | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.debian.org/Teams/Dpkg
安装元数据
| 软件包键 | brew:dpkg |
|---|---|
| 版本 | 1.23.7 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dpkg |
| 主页 | https://wiki.debian.org/Teams/Dpkg |
| 仓库 | https://git.dpkg.org/git/dpkg/dpkg.git |
| 上游文档 | https://wiki.debian.org/Teams/Dpkg |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://deb.debian.org/debian/pool/main/d/dpkg/dpkg_1.23.7.tar.xz |
| 最后更新 | 2026-06-22T14:03:11-07:00 |
| Pulse | updated |
| 依赖 | gettext, gnu-tar, gpatch, libmd, perl, xz |
| 构建依赖 | pkgconf, po4a |
| macOS 提供的库 | bzip2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | This installation of dpkg is not configured to install software, so commands such as `dpkg -i`, `dpkg --configure` will fail. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dpkg |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
dpkg 1.22.22
Debian package management system
https://wiki.debian.org/Teams/Dpkg
sudo apt install dpkgdpkg-dev 1.22.22
Debian package development tools
https://wiki.debian.org/Teams/Dpkg
sudo apt install dpkg-devdselect 1.22.22
Debian package management front-end
https://wiki.debian.org/Teams/Dpkg
sudo apt install dselectlibdpkg-dev 1.22.22
Debian package management static library
https://wiki.debian.org/Teams/Dpkg
sudo apt install libdpkg-devlibdpkg-perl 1.22.22
Dpkg perl modules
https://wiki.debian.org/Teams/Dpkg
sudo apt install libdpkg-perldpkg
nix profile install nixpkgs#dpkgdpkg 1.22.6ubuntu6
Debian package management system
https://wiki.debian.org/Teams/Dpkg
sudo apt install dpkgdpkg-dev 1.22.6ubuntu6
Debian package development tools
https://wiki.debian.org/Teams/Dpkg
sudo apt install dpkg-devdselect 1.22.6ubuntu6
Debian package management front-end
https://wiki.debian.org/Teams/Dpkg
sudo apt install dselectlibdpkg-dev 1.22.6ubuntu6
Debian package management static library
https://wiki.debian.org/Teams/Dpkg
sudo apt install libdpkg-devlibdpkg-perl 1.22.6ubuntu6
Dpkg perl modules
https://wiki.debian.org/Teams/Dpkg
sudo apt install libdpkg-perldpkg 1.23.7-r0
Debian Package Manager
https://wiki.debian.org/Teams/Dpkg
sudo apk add dpkgdpkg-dev 1.23.7-r0
Debian package development tools
https://wiki.debian.org/Teams/Dpkg
sudo apk add dpkg-devdpkg-doc 1.23.7-r0
Debian Package Manager (documentation)
https://wiki.debian.org/Teams/Dpkg
sudo apk add dpkg-docdpkg-zsh-completion 1.23.7-r0
Zsh completions for dpkg
https://wiki.debian.org/Teams/Dpkg
sudo apk add dpkg-zsh-completiondpkg 1.23.7-1.fc45
Package maintenance system for Debian Linux
https://tracker.debian.org/pkg/dpkg
sudo dnf install dpkg来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.