On Ubuntu when you install a package, there can be dependencies, recommendations and suggestions. For example: virtualbox-ose has adduser as dependency, libgl1 as recommendation and libpulse0 as suggestion.

What is the difference between recommendations and suggestions?

Recommendations are standard installed with apt. This can be prevented using the switch --no-install-recommends

Second question: How can you force to install suggestions with apt?

link|improve this question

feedback

2 Answers

up vote 4 down vote accepted

See Debian's FAQ about this. Ubuntu is based on Debian, so it should be the same:

  • Package A recommends Package B, if the package maintainer judges that most users would not want A without also having the functionality provided by B.
  • Package A suggests Package B if B contains files that are related to (and usually enhance) the functionality of A.
link|improve this answer
Thanks! Is there a way (command-line switch) to automatically install suggested packages? – Peter Smit Nov 15 '09 at 13:16
feedback

You can avoid recommended packages from being included in an install in Synaptic via Settings, Preferences, General tab: Untick "Consider recommended packages as dependencies".

With apt-get, you can include the switch "--no-install-recommends".

Dependencies must be present to run the package. I can't tell you what specifically qualifies a package as a recommended one other than what the adjective suggests.

A CLI method of displaying dependencies and suggests is: apt-cache show Example: apt-cache show gimp

link|improve this answer
1  
What about the main question. What is the difference between recommendations and suggestions? You don't mention suggestions at all! – Peter Smit Nov 13 '09 at 17:00
feedback

Your Answer

 
or
required, but never shown

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