Apt or apt-get and suggests when installing new package

when using apt or apt-get to install a new program, is it possible to add only one of the suggested packages to the install, and not all of them, so as to cut cut down on the huge number of installed files? For example I may want to install the suggested docs but not all the other suggested packages. Thanks for your consideration

It’d be nice, if you could fill out the template explained here in this thread, so we can help you much better and quicker:

1 Like

Hello Jim,

Welcome to the community.

By defauly, apt or apt-get command DOES NOT install the suggested packages:

sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libavdevice57 libsdl2-2.0-0
Suggested packages:
The following NEW packages will be installed:
  ffmpeg libavdevice57 libsdl2-2.0-0
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.

You can see that the suggested package is not in the list of packages to be installed.

Both apt and apt-get commands have the option to install all the suggested packages with --install-suggests but if you want to install some of the suggested packages, just install them individually like any other package.


abhishek, Thank you very much for your reply, jim


You are welcome, Jim.