list installed packages by size

dpkg-query -W --showformat='${Installed-Size}\t${Package}\n' | sort -k1,1n

Note: uninstalled packages still listed or packages that have left config files behind. To strictly list installed packages:

dpkg-query -W --showformat='${Installed-Size}\t${Package}\t${Status}\n' | sort -k1,1n | grep installed
Proxy Information
Original URL
gemini://nuacht.flounder.online/gemlog/2022-08-18-List-installed-packages.gmi
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
717.093569 milliseconds
Gemini-to-HTML Time
0.141567 milliseconds

This content has been proxied by September (ba2dc).