(debian)czyborra@localhost:~$ sudo aptitude install deborphan […] Unpacking dialog (1.3-20190211-1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up dialog (1.3-20190211-1) ... Setting up deborphan (1.7.31) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10) ... (debian)czyborra@localhost:~$ deborphan --show-section --show-size --all-packages | sort -n
20 main/x11 i3:amd64 21 main/metapackages init:amd64 21 main/utils xtitle:all 26 main/perl libtext-wrapi18n-perl:all 50 main/perl libtext-iconv-perl:amd64 51 main/x11 xsel:amd64 96 main/admin ncdu:amd64 100 main/net iputils-ping:amd64 103 main/admin command-not-found:all 109 main/x11 xbindkeys:amd64 152 main/oldlibs apt-transport-https:all 170 main/libdevel libspeexdsp-dev:amd64 184 main/x11 xautomation:amd64 200 main/python python3-cffi-backend:amd64 217 main/admin ifupdown:amd64 217 main/utils debian-goodies:all 255 main/devel adb:amd64 347 main/admin deborphan:amd64 533 main/libdevel libasound2-dev:amd64 690 main/python python3-pip:all 729 main/libdevel libxi-dev:amd64 729 main/net rsync:amd64 1005 main/utils cpio:amd64 1812 main/admin rsyslog:amd64 1967 main/video ffmpeg:amd64 2216 main/editors nano:amd64 2569 main/net iptables:amd64 3567 main/gnome dmz-cursor-theme:all 3787 main/admin sudo:amd64 8288 main/admin udev:amd64 what would i want to sudo aptitude purge here to free 1 gig? 2025-03-06[Thu]15:10 🦓 read that
On Wed 05 Mar 2025 at 17:04:12 (-0500), Eben King wrote:deborphan --show-section --show-size --all-packages | sort -n
2025-03-05[Wed]23:21 David Wright wrote
Bear in mind when you use --all-packages that, while removing packages listed will make the Debian system happy about being smaller, the list will likely contain many of the packages that make the system worth operating at all (unless you're getting all your functionality from flatpaks and suchlike,