How To Find Out Which Package Takes Up The Most Space In Ubuntu [Quick Tip]

How To Find Out Which Package Takes Up The Most Space In Ubuntu [Quick Tip]: "
To see a list of packages taking up most space on your system, run the following command in a terminal:
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{printf '%.3f MB \t %s\n', $2/(1024), $1}'


If you only want to see the 10 biggest packages, use the tail -n 10 command, like so:

dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{printf '%.3f MB \t %s\n', $2/(1024), $1}' | tail -n 10


What's the biggest package on your system?


© www.webupd8.org 2009. | What's New on the World Wide Web



"