#!/bin/sh dpkg-query -W --showformat='${Package} ${Installed-Size}\n' | sort -k2 -n -r