Find your largest installed packages
Ever wonder what program or package eats the most of your “/usr” partition? Here is the way to find the most gluttonous package on Debian/Ubuntu:
$ sed -ne '/^Package: \(.*\)/{s//\1/;h;};/^Installed-Size: \(.*\)/{s//\1/;G;s/\n/ /;p;}' /var/lib/dpkg/status | sort -rn
November 11, 2009 - 20:29
Thanks!
The most big package on my system is “ubuntu-docs” which is definitely not required to be here.