I couldn't find out how to list packages by size using dpkg or apt-whatever on a Debian system, so I hacked together this script, listpkgs.sh. Run it as follows:

$ ./listpkgs.sh 2>/dev/null | sort -n

This shows the biggest packages at the end, which you can then decide whether or not to remove.

Back to blog or home page

last updated 2013-01-10 20:54:33. served from tektonic