Show current apt configuration

26.08.2023 howto, linux
apt-config dump

For example, to get current values of APT::Install-Recommends and APT::Install-Suggests:

apt-config dump | grep :Install
APT::Install-Recommends "1";
APT::Install-Suggests "0";

References:

  • https://wiki.debian.org/AptConfiguration
  • https://manpages.debian.org/testing/apt/apt-config.8.en.html

© 2025 Andrei Shevchuk · Powered by Pelican

Back to top