Xensoft
  • Home
  • Command Line
  • Best Practices
  • Scripting
  • Books
  • Riddles
Sign in Subscribe

DEB

A collection of 1 post
CLI

List DEBs by Size

dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n Similar the the RPM [https://xensoft.com/find-the-largest-installed-rpms/] equivalent. However, the above doesn't seem to always list the "Installed Size" - you can always fall back to this brute force method: dpkg --get-selections | cut -f1 | while read pkg; do dpkg -L
Nov 3, 2013
Page 1 of 1
Xensoft © 2025
  • Sign up
Powered by Ghost