cat /etc/dpkg/dpkg.cfg.d/small path-exclude=/usr/share/locale/* path-exclude=/usr/share/man/* path-exclude=/usr/share/doc/* path-exclude=/usr/share/info/*
for p in $(dpkg --get-selections | cut -d $'\t' -f 1); do echo $(du -kc /x $(for i in `dpkg-query -L $p`; do [[ -f $i ]] && echo $i; done) | tail -n 1 | cut -d $'\t' -f 1) $p; done | sort -n | tail 2676 libssl1.0.0:amd64 3084 tzdata 3152 libc-bin 3288 groff-base 3652 iptables 5224 coreutils 5660 perl-base 6036 udev 10308 libc6:amd64 13784 systemd
Compressing Apt indices saves another 20MB [1]
The system is now down to 123MB.
[1] https://wiki.ubuntu.com/ReducingDiskFootprint#Compress_files
Compressing Apt indices saves another 20MB [1]
The system is now down to 123MB.
[1] https://wiki.ubuntu.com/ReducingDiskFootprint#Compress_files