User Tools

Site Tools


how_to_debloat_debian_by_not_using_recommended_packages

If you don’t want these recommended packages, here’s how to stop them from being installed. Create the following file:

/etc/apt/apt.conf.d/99_norecommends

and add these contents to it.

APT::Install-Recommends "true";
APT::Install-Suggests "false";
APT::AutoRemove::RecommendsImportant "true";
APT::AutoRemove::SuggestsImportant "false";

Then do apt autoremove to remove already installed recommends.

how_to_debloat_debian_by_not_using_recommended_packages.txt · Last modified: 2024/03/12 21:23 by 127.0.0.1