Saturday, November 24, 2012

List packages by installed size (Debian, Ubuntu)

Ever want to find out which packages on your Debian-based Linux system are taking up the most space? Want to list them by size? use this command

$ dpkg-query -W -f='${Installed-Size} ${Package} ${Version}\n' | sort -n

No comments:

Post a Comment