Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

In debian the default configuration for installing recommendations in apt is set to true.

if you edit


and add the line

apt::install-recommends "false";

recommendations are not installed by default anymore.

You can also achieve this by adding the option

apt-get install --no-install-recommends ...

Why is this default set to true?

share|improve this question

marked as duplicate by Faheem Mitha, Renan, Braiam, slm, vonbrand Mar 31 '14 at 1:54

This question was marked as an exact duplicate of an existing question.

I believe this is essentially a duplicate of unix.stackexchange.com/q/77053/4671 though it is phrased a little differently. – Faheem Mitha Mar 30 '14 at 19:56
I don't have any better explanation of why than what @FaheemMitha linked to, but as for how to work around it, try: apt-get -o apt::install-recommends=true – cpugeniusmv Mar 30 '14 at 19:58
@cpugeniusmv: that was not the question, I wonder why that is the default – rubo77 Mar 30 '14 at 20:59
I see, It is answered in that question, although the question there is a bit weird. The Answer is what I was looking for though: unix.stackexchange.com/a/77076/20661 – rubo77 Mar 30 '14 at 21:13

install-recommends is set to true, because those packages are usually needed for a useful installation. Only in unusual cases you don't need the recommended packages.

It is recommended to leave this on default as it is to get less problems, unless you are really low on disk-space.

for more info see this answer: http://unix.stackexchange.com/a/77076/20661

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.