dpkg-preconfigure

Ask questions before installing packages in Debian Linux

Supplementary instructions

dpkg-preconfigure command is used to ask questions before installing a package in Debian Linux.

grammar

dpkg-preconfigure(options)(parameters)

Options

-f: Select the front end to use;
-p: the lowest priority question of interest;
--apt: Run in apt mode.

Parameters

Package: Specify the ".deb" package.

Example

Import debconf template:

dpkg-preconfigure /var/cache/apt/archives/mysql-server-5.5*.deb