Created
March 7, 2017 18:43
-
-
Save swyngaard/768bcac852cb609976484bdec675c6a2 to your computer and use it in GitHub Desktop.
APT disable installation of recommended packages by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APT::Install-Recommends "0"; | |
APT::Install-Suggests "0"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable the installation of recommended packages by default. This is especially useful for servers where the extra packages are not required. | |
Create the file /etc/apt/apt.conf.d/01norecommend with the following contents: | |
APT::Install-Recommends "0"; | |
APT::Install-Suggests "0"; | |
Update the apt-cache: | |
$ sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment