commands.sh

dpigs

linux

Show which installed packages occupy the most space on `apt` based systems.

More info →

Options (5)

-n, --linesboolean

Display the `n` largest packages on the system

Example: dpigs {{[-n|--lines]}} {{n}}
-s, --statusboolean

Use the specified file instead of the default dpkg status file

Example: dpigs {{[-s|--status]}} {{path/to/file}}
-S, --sourceboolean

Display the largest source packages of binary packages installed on the system

Example: dpigs {{[-S|--source]}}
-H, --human-readableboolean

Display package sizes in human-readable format

Example: dpigs {{[-H|--human-readable]}}
-h, --helpboolean

Display help

Example: dpigs {{[-h|--help]}}

Examples (5)

Display the `n` largest packages on the system

dpigs [-n|--lines] n

Use the specified file instead of the default dpkg status file

dpigs [-s|--status] path/to/file

Display the largest source packages of binary packages installed on the system

dpigs [-S|--source]

Display package sizes in human-readable format

dpigs [-H|--human-readable]

Display help

dpigs [-h|--help]
made by @shridhargupta | data from tldr-pages