Debian configuration system

For the annual developers conference for this operating system, see Debian Conference.

debconf

Reconfigure tzdata package using debconf (1.5.38) on Debian Linux 6.0 (squeeze/unstable).

Original author(s)| Joey Hess
Developer(s)| Joey Hess, Colin Watson
Stable release|

1.5.89[1]  / 25 December 2024

Repository|

* salsa.debian.org/pkg-debconf/debconf.git

Written in| Perl
Operating system| Unix-like operating system
License| 2-clause BSD License[2]

debconf is a software utility for performing system-wide configuration tasks on Unix-like operating systems. It is developed for the Debian Linux distribution, and is closely integrated with Debian's package management system, dpkg.

When packages are being installed, debconf asks the user questions which determine the contents of the system-wide configuration files associated with that package. After package installation, it is possible to go back and change the configuration of a package by using the `dpkg-reconfigure` program, or another program such as Synaptic.

The design of debconf allows for front-ends for answering configuration questions to be added in a modular way, and there exist several, such as one for dialog, one for readline, one that uses a text editor, one for KDE, one for GNOME,[3] a Python front-end API, etc.

The original implementation of debconf is in Perl. During the development of Debian-Installer, a new implementation in C was developed, which is named cdebconf. The new implementation is currently only used in the installer, but is intended to eventually replace the original entirely. Both implementations make use of the same protocol for communication between the debconf front-end and the client code ("confmodule"); this is a simple line-based protocol similar to common Internet protocols.

Debconf does not physically configure any packages, but asks the user certain configuration questions stored in the .templates file, under the direction of the package's maintainer scripts (.config, .postinst, etc.). Typically, the .config script uses debconf to ask questions, while .postinst applies configuration changes to the unpacked package in reaction to the answers; however, this can vary due to technical requirements. The user's answers to the configuration questions asked by debconf are cached in debconf's database.

## References

[edit]

1. ^ "Tags". 25 December 2024. Retrieved 16 February 2025.
2. ^ "copyright". Retrieved 16 February 2025.
3. ^ The GNOME Journal: Simplified Package Management in Ubuntu Hoary

## External links

[edit]

* No URL found. Please specify a URL here or add one to Wikidata.
* Original author's web site
* Man Page
* The Debconf Programmer's Tutorial
* The Debconf specification

* v
* t
* e

Debian

Software in the Public Interest

General|

* DebConf
* Debian Free Software Guidelines
* Debian Social Contract
* Project leaders
* Releases

People|

* Bdale Garbee
* Benjamin Mako Hill
* Sam Hocevar
* Ian Jackson
* Martin Michlmayr
* Ian Murdock
* Jonathan Oxer
* Bruce Perens
* Scott James Remnant
* Stefano Zacchiroli

Derivatives|

| Kernels|

* Debian GNU/Hurd
* Debian GNU/kFreeBSD
* Debian Pure Blend

|

Forks|

* Devuan
* Ubuntu
* derivatives
* TrueNAS

Software|

* APT
* aptitude
* Debbugs
* debconf
* Debian-Installer
* dpkg (deb)
* win32-loader

Others|

Debian–Mozilla trademark dispute

* Linux portal
* Free and open-source software portal
* Category
* Commons
* Wikiversity

* v
* t
* e

Perl

Things|

* CPAN
* Perl Foundation
* Perl Mongers
* PerlMonks
* archives
* module
* Perl VM
* YAPC

Frameworks|

* BioPerl
* Catalyst
* Dancer
* DBI
* DBIx::Class
* LWP
* Mojolicious
* Moose
* Plack
* PSGI
* Template Toolkit

Software|

* Amavis
* Argus
* @SSP
* AWStats
* BackupPC
* Bricolage
* Bugzilla
* Dada Mail
* ikiwiki
* Makepp
* Movable Type
* Munin
* OTRS
* Request Tracker
* SpamAssassin
* TWiki/Foswiki
* W3Perl
* Webmin

Related|

* Parrot
* Raku
* Rakudo
* rules
* MoarVM

Books|

* Programming Perl
* Learning Perl
* Intermediate Perl
* Perl Best Practices

People|

* Larry Wall
* Randal L. Schwartz
* Damian Conway
* Allison Randal
* Audrey Tang
* Sean M. Burke
* chromatic
* brian d foy
* Jesse Vincent

* Outline
* Category

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template