[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Reducing the disk footprint of Debian Edu?



At the moment in Jessie, a complete installation of a Roaming
Workstation fill up 8.2 GiB of disk space.  I wonder if we should reduce
the disk footprint a bit, and had a look at which packages fill up the
same.

Using this command, I am able to get the 20 largest packages installed:

  apt-cache -o 'APT::Cache::AllVersions=0' show \
    $(dpkg -l|grep ^ii|awk '{print $2}') | \
    grep -E '^(Package|Installed-Size): ' | \
    perl -ne 'if (/^Package: (.*)/) { $p = $1 };  if (/^Installed-Size: (.*)/) { print"$1 $p\n"; $p = 'BUG' }' | \
    sort -rn|head -20

You can try to run this command yourself after installation to get the
complete list, by replacing 'head -20' with less.  This is the list I
get on a Roaming Workstation with KDE installed.

177764 foomatic-db-gutenprint
169252 openclipart-svg
165495 gcompris-data
145368 fluid-soundfont-gm
144939 openclipart-png
129592 chromium
117325 kdeartwork-wallpapers
112796 linux-image-3.14-2-686-pae
112061 libreoffice-core
90725 stellarium-data
87681 kde-wallpapers
79801 lilypond-doc-html
77063 iceweasel
76643 libreoffice-common
76210 inkscape
69275 valgrind-dbg
65260 tuxpaint-stamps-default
61963 openjdk-7-jre-headless
60883 kde-l10n-fr
56519 librecad-data

Do we need or want all these packages?  Anyone know some we should drop
from the default installation?

-- 
Happy hacking
Petter Reinholdtsen


Reply to: