# dpkg **Repository Path**: nla/dpkg ## Basic Information - **Project Name**: dpkg - **Description**: 【Ubuntu】dpkg是Debian软件包管理器的基础,dpkg与RPM十分相似,同样被用于安装、卸载和供给和.deb软件包相关的信息。 dpkg本身是一个底层的工具。 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-04 - **Last Updated**: 2024-12-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 解决冲突 - 远程仓库第二次解决冲突 dpkg - Debian 的软件包维护系统 这是构成 Debian 软件包管理系统基础的 dpkg 程序套件;下层是处理二进制格式的 “dpkg-deb ”和 “dpkg-split ”程序,以及处理源码格式的 “dpkg-source ”程序;还有一系列工具,用于将源码包构建为二进制包; dpkg “命令形式的中级用户友好型命令行界面(CLI);以及终端用户界面(TUI)”dselect "程序(该程序已不再受apt(CLI)和 aptitude(TUI)程序的青睐)。 dpkg 套件还包括目前由外部软件源维护的其他一些程序,即 “dpkg-repack”、“dpkg-www”、“dupload ”和 “debsig-verify”。 本地解决冲突 发布 -------- 当前的传统版本、稳定版本和开发版本可在以下网址找到: 旧版本请查阅: 邮件列表 ------------ 订阅界面和网络档案可在以下网址找到: 邮件列表地址为(无需订阅即可发布): debian-dpkg@lists.debian.org 源码仓 ----------------- 可以浏览和克隆主存储库: 从 git 源代码构建 ------------------------ 要在开始构建过程之前从 git 准备好 dpkg 源代码树,需要安装一些必要的软件: GNU autoconf >= 2.60 GNU automake >= 1.11 GNU libtool >= 2.0 GNU autopoint >= 0.19.7 (from GNU gettext) GNU gettext >= 0.19.7 (only with --enable-nls) 安装所需软件后,在 git 树上运行以下命令: $ ./autogen 源应该与分布式 tar 源大致相同。 为实现翻译文件,需要使用该软件: po4a >= 0.59 从源码包构建 ------------------------ 从 tar 包配置和构建 dpkg 所需的最少软件为: C99 compiler (see doc/coding-style.txt) perl (see doc/coding-style.txt) pkgconf GNU make 要启用可选功能或程序,可能需要该软件: libmd (used by libdpkg, required if libc is missing digest functions) libz (from zlib, used instead of gzip command-line tool) liblzma (from xz utils, used instead of xz command-line tool) libzstd (from libzstd, used instead of zstd command-line tool) libbz2 (from bzip2, used instead of bzip2 command-line tool) libselinux curses compatible library (needed on --enable-dselect) 要运行测试套件("make check "或 "make authorcheck "用于作者测试,即那些在发布版本时可能不相关的测试),可能需要以下软件: Test::MinimumVersion perl module (optional, author) Test::Pod perl module (optional) Test::Pod::Coverage perl module (optional, author) Test::Spelling perl module (optional, author) Test::Strict perl module (optional) Test::Synopsis perl module (optional, author) Test::Perl::Critic perl module (optional, author) aspell (optional, author) aspell-en (optional, author) codespell (optional, author) cppcheck (optional, author) fakeroot (optional) sop [sqop (from Sequoia-PGP), pgpainless-cli] (optional) sq (from Sequoia-PGP, optional) gpg-sq (from Sequoia-PGP, optional), gpg (optional) i18nspector (optional, author) shellcheck (optional, author) 要启用额外的开发人员文档("make doc"),需要使用该软件: pod2man doxygen dot 要启用代码覆盖("./configure --enable-coverage; make coverage"),需要使用该软件: lcov (from the Linux Test Project) Devel-Cover perl module 运行常规的 "./configure; make" 即可完成编译过程。要查看所有可用的配置选项,请运行 "./configure --help"。 下列配置选项可能有助于禁用特定程序: --disable-dselect --disable-start-stop-daemon --disable-update-alternatives 以及以下步骤,以禁用对构建标记的修改: --disable-compiler-warnings --disable-compiler-optimizations --disable-linker-optimizations