Package dpkg-dev

Debian package development tools

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

This package provides the development tools (including dpkg-source)
required to unpack, build and upload Debian source packages.
.
Most Debian source packages will require additional tools to build;
for example, most packages need make and the C compiler gcc.

General Commands (Section 1)
dpkg-architecture
dpkg-architecture provides a facility to determine and set the build and host architecture for package building. The build architecture is always determined by...
dpkg-buildflags
dpkg-buildflags is a tool to retrieve compilation flags to use during build of Debian packages.
dpkg-buildpackage
dpkg-buildpackage is a program that automates the process of building a Debian package.
dpkg-checkbuilddeps
This program checks the installed packages in the system against the build dependencies and build conflicts listed in the control file. If any are not met, it...
dpkg-distaddfile
dpkg-distaddfile adds an entry for a named file to debian/files. It takes three non-option arguments, the filename and the section and priority for the .changes...
dpkg-genbuildinfo
dpkg-genbuildinfo reads information from an unpacked and built Debian source tree and from the files it has generated and generates a Debian control file...
dpkg-genchanges
dpkg-genchanges reads information from an unpacked and built Debian source tree and from the files it has generated and generates a Debian upload control file...
dpkg-gencontrol
dpkg-gencontrol reads information from an unpacked Debian source tree and generates a binary package control file (which defaults to debian/tmp/DEBIAN/control)...
dpkg-gensymbols
dpkg-gensymbols scans a temporary build tree (debian/tmp by default) looking for libraries and generates a symbols file describing them. This file, if...
dpkg-mergechangelogs
This program will use the 3 provided versions of the Debian changelog to generate a merged changelog file. The resulting changelog is stored in the file out or...
dpkg-name
This manual page documents the dpkg-name program which provides an easy way to rename Debian packages into their full package names. A full package name...
dpkg-parsechangelog
dpkg-parsechangelog reads and parses the changelog of an unpacked Debian source tree and outputs the information in it to standard output in a machine-readable...
dpkg-scanpackages
dpkg-scanpackages sorts through a tree of Debian binary packages and creates a Packages file, used by apt(8), dselect(1), etc, to tell the user what packages...
dpkg-scansources
dpkg-scansources scans the given binary-dir for .dsc files. These are used to create a Debian source index, which is output to stdout. The override-file, if...
dpkg-shlibdeps
dpkg-shlibdeps calculates shared library dependencies for executables named in its arguments. The dependencies are added to the substitution variables file...
dpkg-source
dpkg-source packs and unpacks Debian source archives. None of these commands allow multiple options to be combined into one, and they do not allow the value for...
dpkg-vendor
dpkg-vendor is a tool to query information about vendors listed in /etc/dpkg/origins. /etc/dpkg/origins/default contains information about the current vendor.
File Formats (Section 5)
deb
The .deb format is the Debian binary package file format. It is understood since dpkg 0.93.76, and is generated by default since dpkg 1.2.0 and 1.1.1elf...
deb822
The package management system manipulates data represented in a common format, known as control data, stored in control files. Control files are used for source...
deb-buildinfo
Each Debian source package build can record the build information in a .buildinfo control file, which contains a number of fields. Each field begins with a tag...
deb-changelog
Changes in the packaged version of a project are explained in the changelog file debian/changelog. This includes modifications made in the source package...
deb-changes
Each Debian upload is composed of a .changes control file, which contains a number of fields. Each field begins with a tag, such as Source or Binary (case...
deb-conffiles
A package declares its list of conffiles by including a conffiles file in its control archive (i.e. DEBIAN/conffiles during package creation). This file...
deb-control
Each Debian binary package contains the master control file, which contains a number of fields. Each field begins with a tag, such as Package or Version (case...
deb-extra-override
While most information about a binary/source package can be found in the control/.dsc file, all of it can be overridden when it's exported to Packages/Sources...
deb-old
The .deb format is the Debian binary package file format. This manual page describes the old format, used before Debian 0.93. Please see deb(5) for details of...
deb-origin
The files in /etc/dpkg/origins can provide information about various vendors who are providing Debian packages. They contain a number of fields, or comments...
deb-override
While most information about a package can be found in the control file, some is managed centrally by the distribution czars rather than by the maintainer in...
deb-postinst
A package can perform several post-installation actions via maintainer scripts, by including an executable postinst file in its control archive (i.e...
deb-postrm
A package can perform several post-removal actions via maintainer scripts, by including an executable postrm file in its control archive (i.e. DEBIAN/postrm...
deb-preinst
A package can perform several pre-installation actions via maintainer scripts, by including an executable preinst file in its control archive (i.e...
deb-prerm
A package can perform several pre-removal actions via maintainer scripts, by including an executable prerm file in its control archive (i.e. DEBIAN/prerm during...
deb-shlibs
shlibs files map shared library names and versions (sonames) to dependencies suitable for a package control file. There is one entry per line. Blank lines are...
deb-split
The multi-part .deb format is used to split big packages into smaller pieces to ease transport in small media.
deb-src-control
Each Debian source package contains the master Ā«controlĀ» file, which contains at least 2 paragraphs, separated by a blank line. The first paragraph lists all...
deb-src-files
This file contains the list of artifacts that are to be distributed via the .changes control file. The debian/files file has a simple whitespace-delimited...
deb-substvars
Before dpkg-source, dpkg-gencontrol and dpkg-genchanges write their control information (to the source control file .dsc for dpkg-source and to standard output...
deb-symbols
The symbol files are shipped in Debian binary packages, and its format is a subset of the template symbol files used by dpkg-gensymbols(1) in Debian source...
deb-triggers
A package declares its relationship to some trigger(s) by including a triggers file in its control archive (i.e. DEBIAN/triggers during package creation). This...
deb-version
Version numbers as used for Debian binary and source packages consist of three components.
dsc
Each Debian source package is composed of a .dsc control file, which contains a number of fields. Each field begins with a tag, such as Source or Binary (case...