Abstract

dpkg-du is a quick little script (hack?) to produce a dump of the installed size of Debian packages in du format. For example, dpkg-du|sort -n|tail -10 will show the 10 biggest packages on your system.

Usage

There's no flags. Just dump it in /usr/local/bin or such a place, and run dpkg-du. Enjoy. It should work on any Debian box with awk installed, or any Debian derivative, such as Ubuntu.

License

Released under the BSD license. Honestly.. anyone who thinks there's commercialisable IP in a two line script - go for it.

Where is it?

Grab a copy of dpkg-du.

Screenshot

frontalis:~$ dpkg-du | sort -nr | head -30
276108  fgfs-base
105220  ghc6
100544  openoffice.org-core
67324   mysql-server-5.0
53088   openoffice.org-common
45468   inkscape
39672   mailman
34752   kde-icons-crystalclear
34100   valgrind
33492   w32codecs
33224   freepats
33156   libwine
32236   amarok
32212   libgl1-mesa-dri
31920   wireshark-common
31844   kernel-image-2.4.27-2-686
31813   kdeartwork-theme-icon
31132   icedove
30388   libgcj7-0
29456   kdelibs-data
27732   kdelibs4c2a
26940   iceweasel
25932   scribus
25704   libwine-dev
24332   kde-icons-nuovext
22864   kde-icons-nuvola
21536   vim-runtime
20400   gimp-data
19716   kopete
19692   python-qt3