Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 References  





2 External links  














Debian configuration system






العربية
Català
Deutsch
Español
Italiano
עברית

Norsk bokmål
Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


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

1.5.77[1] / June 10, 2021; 3 years ago (2021-06-10)

Preview release

1.5.79[2] / October 29, 2021; 2 years ago (2021-10-29)

Repository
Written inPerl
LicenseBSD-2-clause
Websitewiki.debian.org/debconf Edit this on Wikidata

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]aPython 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. ^ "debconf stable changelog". Retrieved 2022-11-11.
  • ^ "debconf unstable changelog". Retrieved 2022-11-11.
  • ^ The GNOME Journal: Simplified Package Management in Ubuntu Hoary
  • [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Debian_configuration_system&oldid=1191315456"

    Categories: 
    Dpkg
    Debian
    Unix configuration utilities
    Ubuntu
    Free software programmed in Perl
    Software using the BSD license
     



    This page was last edited on 22 December 2023, at 20:08 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki