Primeiro instale os debian-goodies executando o comando abaixo,
sudo apt-get install debian-goodies
Em seguida, execute o comando abaixo para visualizar os pacotes instalados que têm tamanho grande,
dpigs -H
Por padrão, ele foi configurado para exibir 10 maiores pacotes instalados.Você pode definir o número pelo parâmetro -n .
dpigs -n 20 -H
O comando acima lista os 20 maiores pacotes instalados.
$ dpigs -h
Usage: dpigs [options]
Options:
-n, --lines=N
Display the N largest packages on the system (default 10).
-s, --status=status-file
Use status-file instead of the default dpkg status file.
-S, --source
Display the largest source packages of binary packages installed
on the system.
-H, --human-readable
Display package sizes in human-readable format (like ls -lh or du -h)
-h, --help
Display this message.