Re: how do you find installed bloatware to apt purge?
On Fri, Mar 07, 2025 at 10:20:30 +0000, Jonathan Dowland wrote:
> For Debian packages specifically, you can use dpigs from the debian-goodies
> package. I wrote an alternative for situations where I don't want to install
> debian-goodies and its transitive dependencies:
>
> awk -v RS='' '/Status:.*installed\n/' /var/lib/dpkg/status \
> | grep -E '^(Installed-Size|Package)' \
> | cut -d: -f2- \
> | paste - - \
> | sort -rnk2 \
> | awk '{ print $2 "\t" $1 }' \
> | head -n 10
That's conceptually similar to the little program that I wrote,
which you can get from <https://wooledge.org/~greg/ds>. It's in perl.
Sample output:
zoom 705531
brave-browser 399770
linux-image-6.1.0-30-amd64 399102
linux-image-6.1.0-31-amd64 399069
google-chrome-stable 365765
firefox-esr 251227
libllvm15 124941
ibus-data 109113
firmware-iwlwifi 82286
[...]
Reply to: