Daily Ubuntu / Linux news and application reviews.

ads

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?

«
Next
Newer Post
»
Previous
Older Post