Generated by GPT-5-mini| Debian Policy Manual | |
|---|---|
| Name | Debian Policy Manual |
| Latest release | 4.4.0.0 (example) |
| Programming language | C, Shell, Python |
| Operating system | Debian GNU/Linux |
| License | GNU General Public License |
| Website | Debian Project |
Debian Policy Manual is the authoritative specification that defines packaging, file system layout, metadata, and packaging workflow for Debian GNU/Linux and related distributions. It serves as the canonical reference for maintainers, Software Development contributors, and packaging teams across projects like Ubuntu, Kali Linux, and Raspbian, ensuring interoperability with tools such as dpkg, APT (software), and apt-get. The manual interfaces with standards and organizations including Filesystem Hierarchy Standard, Linux Standard Base, and contributors from the Debian Project community.
The manual prescribes conventions for package metadata, archive formats, and runtime behavior used by tools such as dpkg, apt, and debconf. It establishes relationships with projects like GNU Project, Free Software Foundation, and infrastructures such as Archive maintenance services and mirror networks. Distributions derived from Debian GNU/Linux or participating in collaborations like Ubuntu and Knoppix reference the manual to maintain compatibility with packaging systems developed by teams including the Debian Project maintainers and volunteers from events such as Debconf.
Origins trace to early coordination among contributors to Debian Project during the 1990s, influenced by documents and standards from entities like the GNU Project and the Free Software Foundation. Over time, stewardship shifted through release cycles coordinated by leaders and teams in the Debian Project, with maintenance during milestone events such as releases comparable to Debian 1.1 (Buzz), Debian 2.0 (Hamm), and later stable branches. Influential contributors and maintainers who participated in governance and technical committees shaped the manual alongside initiatives like Debian Policy Committee and discussions at Debconf conferences. Interactions with external standards bodies such as Linux Foundation working groups and documents like Filesystem Hierarchy Standard informed revisions and portability decisions for architectures including x86, ARM architecture, and PowerPC.
The manual is organized into sections that cover packaging metadata, control files, maintainer scripts, file system hierarchy, and packaging interoperability with build tools like pbuilder and sbuild. It details fields used by package management systems such as dpkg control fields, relationships with archive formats exemplified by tar (computing), and integration with configuration systems like debconf. The contents address binary and source package formats, standards for packaging languages such as POSIX, integration with build systems like autotools and CMake, and guidance for handling compiled artifacts relevant to compilers like GCC and linkers managed in projects like Binutils.
Key policy areas include metadata fields (Authors, Maintainer, Version), dependency declaration, architecture qualification, and file system placement aligned with the Filesystem Hierarchy Standard. It enforces behaviors for maintainer scripts (preinst, postinst, prerm, postrm) used by dpkg and prescribes handling of conffiles, configuration management practices influenced by debconf, and licensing declarations in line with GNU General Public License and other licenses recognized by the Free Software Foundation. The manual addresses multi-arch support for architectures like ARM architecture and x86_64, packaging of interpreters such as Python (programming language) and Perl, and integration with desktop environments exemplified by GNOME and KDE.
Adoption extends beyond the Debian Project to derivatives such as Ubuntu, Raspbian, Linux Mint, and appliance projects used in education or research at institutions like MIT and ETH Zurich. The manual's conventions enable ecosystem consistency across package repositories, mirrors, and continuous integration systems used at organizations including Canonical (company), community teams participating in Debconf, and research groups leveraging reproducible environments. Its influence is visible in packaging policies adopted by distributions participating in collaborations with the Linux Foundation and in tooling maintained by projects like Launchpad and GitLab integrations.
Compliance is monitored via automated tools such as lintian and continuous integration pipelines using Jenkins or GitLab CI/CD, alongside manual review by archive administrators and maintainers within the Debian Project. Enforcement mechanisms include archive-wide rejection policies, qa-upload checks, and guidance from teams like the Debian Project uploaders and release managers who follow governance processes comparable to those in other large-scale projects such as Kubernetes and Apache Software Foundation. Non-compliant packages may be embargoed, rejected, or subject to bug reports handled through trackers used by communities like Savannah and GitHub.
Revisions are coordinated by maintainers, the policy-maintainers team, and governance bodies within the Debian Project, often discussed on mailing lists and at events such as Debconf and Debcamp. Changes undergo proposal, discussion, and ratification, with versioned releases aligned to distribution freeze cycles similar to release processes in projects like Ubuntu and Fedora Project. Governance draws on democratic and meritocratic practices also observed in organizations such as the Free Software Foundation and Linux Foundation, with stewardship responsibilities assigned to teams and individuals recognized within the Debian Project contributor community.