Kamis, 17 November 2011

HOWTO: Use APT without the Bloat

Today I would like to share a small tidbit with all the users of APT distros out there. One of the reasons Bodhi Linux is so light weight and snappy is because when I install all the base packages for Bodhi I install them with the minimal amount of extra dependencies.

For whatever reason a good deal of Debian packagers like to tack on a whole slew of "optional" dependencies to the packages they create. By default apt-get installs all of these extra dependencies on your computer. If you are like me and don't want all the extra bloat it is as simple as running apt-get with on extra argument:

sudo apt-get install --no-install-recommends foo 

In the above example "foo" is the name of the package you wish to install. Doing this can save a good bit of space on your system. For example:

sudo apt-get install abiword


VS

sudo apt-get install --no-install-recommends abiword


or

sudo apt-get install k3b


VS

sudo apt-get install --no-install-recommends k3b


~Jeff Hoogland

Tidak ada komentar:

Posting Komentar