Linux - analize space used by installed packages

With this command you can get a list of installed packages, order by size:
  • 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}'

No comments:

Post a Comment