debconf (software package)

debconf (software package)

debconf is a software utility for performing system-wide configuration tasks on Unix-like operating systems. It is developed for the Debian GNU/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 [1], 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

  1. ^ The GNOME Journal: Simplified Package Management in Ubuntu Hoary

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Debconf (software package) — debconf is a software utility for performing system wide configuration tasks on Unix like operating systems. It is developed for the Debian GNU/Linux distribution, and is closely integrated with Debian s package management system, dpkg.When… …   Wikipedia

  • DebConf — For the Debian configuration management system, see debconf (software package) . DebConf is the yearly conference where Debian developers meet to discuss issues around the further development of the system. Besides the scheduled workshops and… …   Wikipedia

  • debconf (программный пакет) — Эта статья  об утилите для POSIX. О конференции разработчиков Debian см. DebConf. debconf это утилита для выполнения системных задач по настройке в unix подобных операционных системах. Она разработана для дистрибутива Debian… …   Википедия

  • Mozilla Corporation software rebranded by the Debian project — Iceweasel redirects here. For the GNU browser formerly known as IceWeasel, see GNU IceCat. In 2006, a branding issue developed when Mike Connor, representing the Mozilla Corporation, requested that the Debian Project comply with Mozilla standards …   Wikipedia

  • Debian Free Software Guidelines — The Debian Free Software Guidelines (DFSG) is a set of guidelines that the Debian Project uses to determine whether a software license is a free software license, which in turn is used to determine whether a piece of software can be included in… …   Wikipedia

  • Synaptic (software) — Synaptic Package Manager Synaptic 0.62 Developer(s) Alfredo Kojima, Gustavo Niemeyer and Michael Vogt …   Wikipedia

  • Debian — GNU/Linux 6.0 ( Squeeze ) with GNOME Company / developer …   Wikipedia

  • Advanced Packaging Tool — Advanced Packaging Tools apt get requesting confirmation before an installation Stable release 0.8.10[1] / November 30, 2010; 11 months ago …   Wikipedia

  • dpkg — Original author(s) Ian Murdock Developer(s) The dpkg team Stable release 1.15.7.2 Preview release 1.15.8.4 …   Wikipedia

  • deb (file format) — Debian package The GNOME icon for deb files Filename extension .deb Internet media type application/x deb Developed by …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”