Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 5794  / 2 Years ago, sat, december 11, 2021, 5:45:49

I am running out of disk space on my root partition, and I'm attempting to remove some packages and not others.


More From » dpkg

 Answers
3

First install debian-goodies by running the below command,



sudo apt-get install debian-goodies


Then run the below command to view the installed packages which has large size,



dpigs -H


By default,it was set to display installed 10 largest packages.You can set the number by -n parameter.



dpigs -n 20 -H


The above command lists installed largest 20 packages.




$ 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.


[#27449] Monday, December 13, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tinchir

Total Points: 300
Total Questions: 116
Total Answers: 119

Location: American Samoa
Member since Sun, Jan 17, 2021
3 Years ago
tinchir questions
Tue, Sep 14, 21, 23:11, 3 Years ago
Mon, Dec 19, 22, 13:00, 1 Year ago
Sat, Feb 5, 22, 11:36, 2 Years ago
Mon, Aug 8, 22, 02:16, 2 Years ago
;