No description
  • C 41.2%
  • Perl 35.1%
  • Roff 6.9%
  • Makefile 6.1%
  • C++ 5.4%
  • Other 5.3%
Find a file
Guillem Jover ade559fe4e debian: Fix bug closure
Fixes: commit d27981e420
Changelog: silent
2025-12-20 03:25:19 +01:00
build-aux build: Add new authordistcheck convenience rule 2025-08-05 19:28:46 +02:00
data arch: Remove support for powerpcspe 2025-09-12 15:03:51 +02:00
debian debian: Fix bug closure 2025-12-20 03:25:19 +01:00
doc doc: Update references to mixed old and new C/C++ coding styles 2025-10-20 00:17:24 +02:00
dselect po: Regenerate .pot files and merge .po files with them 2025-12-20 02:18:49 +01:00
lib Use valid instead of legal in output messages and code comments 2025-12-10 12:52:40 +01:00
m4 build: Add a function definition to compile for the flags checks 2025-09-22 13:54:58 +02:00
man po: Regenerate .pot files and merge .po files with them 2025-12-20 02:18:49 +01:00
po po: Regenerate .pot files and merge .po files with them 2025-12-20 02:18:49 +01:00
scripts po: Regenerate .pot files and merge .po files with them 2025-12-20 02:18:49 +01:00
src dpkg: Mark reinstreq during unpack as late as possible, not before prerm 2025-12-15 14:44:22 +01:00
t Test::Dpkg: Rename test_needs_srcdir_switch() to test_chdir_srcdir() 2025-09-23 05:51:47 +02:00
tests Disable intentional or false-positive shellcheck checks 2025-06-02 03:40:50 +02:00
utils Do not use contractions in output messages 2025-12-10 12:46:12 +01:00
.editorconfig build: Add an editorconfig file 2025-10-20 00:36:14 +02:00
.git-blame-ignore-revs build: Add support for .git-blame-ignore-revs file 2023-05-11 03:39:50 +02:00
.gitignore build: Ignore tags files 2023-05-11 03:39:50 +02:00
.gitlab-ci.yml build: Fix test verbose and parallel option propagation 2024-07-03 13:42:36 +02:00
.mailmap build: Update .mailmap mappings 2023-01-06 22:56:31 +01:00
AUTHORS doc: Sort maintenance information chronologically 2021-11-19 23:58:33 +01:00
autogen build: Add support for .git-blame-ignore-revs file 2023-05-11 03:39:50 +02:00
ChangeLog.old doc: Remove trailing angle bracket 2025-03-05 12:33:50 +01:00
configure.ac libcompat: Add compatibility functions for fgetpwent() and fgetgrent() 2025-03-06 14:10:40 +01:00
COPYING Synchronise COPYING with /usr/share/common-licenses/GPL-2 2007-07-02 20:39:54 +00:00
Makefile.am build: Add .editorconfig to EXTRA_DIST 2025-10-20 22:21:34 +02:00
NEWS dpkg (1.13.1.0.1) experimental; urgency=low 2005-03-11 09:00:14 +00:00
README doc: Document test suite specific environment variables in README 2025-11-19 03:37:00 +01:00
README.l10n build: Use long options for autotools commands 2022-11-23 02:38:34 +01:00
THANKS doc: Update THANKS file 2021-11-19 23:58:33 +01:00
TODO doc, man: Use manual page instead of manpage 2023-10-19 00:53:40 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

dpkg - Debian's package maintenance system

This is the dpkg suite of programs that form the foundation of the Debian's
package management system; on the lower layer there are dpkg-deb and
dpkg-split programs handling the binary formats, and dpkg-source program
handling the source formats; there is a collection of tools to handle building
source packages into binary packages; there is the medium-level and less
user-friendly command-line interface (CLI) in the form of the dpkg command;
and then there is the terminal user interface (TUI) dselect program (which
has gone out of preference in favor of the apt (CLI) and aptitude (TUI)
programs).

The dpkg suite also includes some other programs currently maintained
on external repositories, namely dpkg-repack, dpkg-www, dupload
and debsig-verify.


Releases
--------

The current legacy, stable and development releases can be found at:

  <https://deb.debian.org/debian/pool/main/d/dpkg/>

For older releases check:

  <https://snapshot.debian.org/package/dpkg/>


Mailing List
------------

The subscription interface and web archives can be found at:

  <https://lists.debian.org/debian-dpkg/>

The mailing list address is (no subscription required to post):

  debian-dpkg@lists.debian.org


Source Repository
-----------------

The primary repository can be browsed and cloned from:

  <https://git.dpkg.org/git/dpkg/dpkg.git>


Building from git source
------------------------

To prepare the dpkg source tree from git before starting the build process
some required software needs to be installed:

  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)

After installing the needed software, and running the following command on
the git tree:

  $ ./autogen

the source should be roughly equivalent to the distributed tar source.

To enable translated documentation this software will be needed:

  po4a >= 0.59


Building from tar source
------------------------

The minimum software required to configure and build dpkg from a tarball is:

  C99 compiler (see doc/coding-style.txt)
  perl (see doc/coding-style.txt)
  pkgconf
  GNU make

To enable optional functionality or programs, this software might be needed:

  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)

To run the test suite («make check» or «make authorcheck» for author tests,
those that might not be pertinent during release builds) the following
software might be needed:

  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)

The following test suite specific environment variables affect what gets run:

  - AUTHOR_TESTING: Runs author tests, that is tests that can fail due to
    changes in tools used, and then require author intervention to fix them.
  - SHORT_TESTING: Does not run expensive tests, usually from the author tests.

To enable additional developer's documentation («make doc») this software
will be needed:

  pod2man
  doxygen
  dot

To enable code coverage («./configure --enable-coverage; make coverage»)
this software is needed:

  lcov (from the Linux Test Project)
  Devel-Cover perl module

The build process is done by running the usual «./configure; make». To
see all available configuration options please run «./configure --help».
The following configure options might be of interest to disable specific
programs:

  --disable-dselect
  --disable-start-stop-daemon
  --disable-update-alternatives

And the following to disable modifications to the build flags:

  --disable-compiler-warnings
  --disable-compiler-optimizations
  --disable-linker-optimizations