Английская Википедия:Debian configuration system

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:For

Шаблон:Infobox software

Шаблон:Notatypo 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, Шаблон:Notatypo 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 Шаблон:Notatypo 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 Шаблон:Notatypo is in Perl. During the development of Debian-Installer, a new implementation in C was developed, which is named Шаблон:Notatypo. 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 Шаблон:Notatypo front-end and the client code ("Шаблон:Notatypo"); this is a simple line-based protocol similar to common Internet protocols.

Шаблон:Notatypo does not physically configure any packages, but asks the user certain configuration questions stored in the Шаблон:Notatypo file, under the direction of the package's maintainer scripts (Шаблон:Notatypo, Шаблон:Notatypo, etc.). Typically, the Шаблон:Notatypo script uses Шаблон:Notatypo to ask questions, while Шаблон:Notatypo 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 Шаблон:Notatypo are cached in Шаблон:Notatypo's database.

References

Шаблон:Reflist

External links

Шаблон:Debian Шаблон:Perl