LinuxCommandLibrary

dpigs

Show largest installed packages on Debian systems

TLDR

Display the n largest packages on the system

$ dpigs [[-n|--lines]] [n]
copy

Use the specified file instead of the default dpkg status file
$ dpigs [[-s|--status]] [path/to/file]
copy

Display the largest source packages of binary packages installed on the system
$ dpigs [[-S|--source]]
copy

Display package sizes in human-readable format
$ dpigs [[-H|--human-readable]]
copy

Display help
$ dpigs [[-h|--help]]
copy

SYNOPSIS

dpigs [options]

PARAMETERS

-h, --help
    Display help message and exit.

-n , --lines=
    Show only the top `` largest packages. Defaults to 10.

-p, --packages
    Show only the package names, not the full paths.

-q, --quiet
    Suppress header from output.

-r, --root
    Print the absolute pathname of the directories, including the root.

-s, --syslog
    Report errors via syslog instead of stderr.

-v, --version
    Display version information and exit.

DESCRIPTION

The dpigs command, short for "Disk Pigs," is a utility used to identify which programs are consuming the most disk space on a Linux system. It works by scanning the system's packages and then sorting them by the size of their installed files. dpigs is part of the `debian-goodies` package, which is a collection of small, useful Debian-specific utilities. The command helps administrators and users quickly pinpoint resource-intensive software for potential removal or optimization. It parses package information from the package manager (dpkg) to determine the space usage, rather than traversing the entire filesystem, making it relatively efficient. The output of dpigs typically displays the package name and the amount of disk space it occupies. It provides a crucial tool for system administrators to easily get an overview of which programs are occupying the most disk space on their system.

INSTALLATION

dpigs is part of the debian-goodies package.
You can install it using the following command:
`sudo apt-get install debian-goodies`

HISTORY

dpigs is part of the debian-goodies package, a collection of small but useful Debian-specific utilities.
The command was designed to help users and administrators quickly identify and manage disk space usage by installed packages on Debian-based systems.
Its development and usage have evolved with Debian, remaining a valuable tool for diagnosing disk space consumption issues.

SEE ALSO

du(1), df(1)

Copied to clipboard