The apt-get install command besides the requested packages by default also installs not only the necessary (described as required), but also recommended (recommended) packages. How to refuse to install the latest?

    1 answer 1

    Option to install only required packages

    --no-install-recommends 

    In order not to prescribe a parameter every time, you can disable the installation of recommended packages, for this you need to make a file

     # nano /etc/apt/apt.conf.d/10norecommends 

    with content

     APT::Install-Recommends "0"; APT::Install-Suggests "0";