LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dpkg-reconfigure

reconfigure installed Debian packages

TLDR

Reconfigure packages
$ dpkg-reconfigure [package1] [package2]
copy
Reconfigure console font setup
$ dpkg-reconfigure console-setup
copy
Reconfigure timezone
$ dpkg-reconfigure tzdata
copy

SYNOPSIS

dpkg-reconfigure [options] packages

DESCRIPTION

dpkg-reconfigure reconfigures already installed packages on Debian-based systems. It runs a package's post-installation configuration scripts again, presenting the same prompts shown during initial installation and allowing you to change previously configured settings.The tool uses the debconf system to manage configuration questions and responses. It's particularly useful for system settings that are difficult to change manually, such as locales, keyboard layouts, timezones, and display manager configurations.Different frontends (dialog, readline, noninteractive) control how questions are presented, making it suitable for both interactive terminal sessions and automated scripts.

PARAMETERS

-f, --frontend frontend

Use specified frontend (dialog, readline, noninteractive)
-p, --priority priority
Priority of questions (low, medium, high, critical)
-a, --all
Reconfigure all packages
--default-priority
Use default priority

INSTALL

sudo apt install dpkg
copy
sudo dnf install dpkg
copy
sudo pacman -S dpkg
copy
sudo apk add dpkg
copy
sudo zypper install dpkg
copy
brew install dpkg
copy
nix profile install nixpkgs#dpkg
copy

CAVEATS

Debian/Ubuntu specific. Not all packages support reconfiguration. Some reconfigurations require root privileges.

SEE ALSO

dpkg(1)

Copied to clipboard
Kai