Azitech

Azimout's Linux weblog

without recommends

with 2 comments

There are 3 types of “pull” dependencies of a package in the apt system: “depends”, “recommends” and “suggests” (I am ignoring for the purposes of this post the other three “push dependencies”: “conflicts”, “replaces” and “provides”).

The rule is: everyone needs “depends”, most need “recommends” and only some need “suggests”. Ubuntu by default installs “depends” and “recommends” and ignores “suggests”. However, from my experience, I don’t need “recommends” and they bloat my system (especially if I just want to try out a package for usefulness or to reproduce a bug).

You can tell aptitude each time to ignore “recommends” by adding the -R parameter. The way to permanently add this option is to edit /etc/apt/apt.conf.d/01ubuntu like this:

APT
 {
 Install-Recommends “false”;
 };

References:

Advertisements

Written by azimout

21/05/2009 at 14:09

Posted in Howto

2 Responses

Subscribe to comments with RSS.

  1. Действительно полезный пост, спасибо.

    Ferinannnd

    25/05/2009 at 06:21

    • Translation from Russian (according to Google): “Really useful post, thanks.”

      azimout

      25/05/2009 at 07:03


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: