[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how do you find installed bloatware to apt purge?



On 2025-03-05 07:22, Runamile Czyborra wrote:
my df -hl / is at 8.7G/11G=89% after sudo apt update && sudo apt install python3 pip && sudu pip3 install vosk in my crouton and what do you use to ergonomically present installed candidates to apt purge a few gigabytes?

Start by running ncdu in your root directory to get an idea what is
using up space.

Things under /var/cache/apt are the apt cache, and can indeed get very large.
You can remove that with with

 apt-get clean

Things under /var/lib/apt include package lists. These are small (~100 mb),
and shouldn't be removed (but you can with `apt-get distclean` if you really
want to trim things down).

You used `pip install`, so you probably have a pip cache that may also need
to be cleared out.  Unclear what you did, since you did not give us the
exact commands you typed, but you may have pulled in a complete alternative
python package hierarchy.  That might be big.

I run vosk off of a container, and it's ~12G total, so 8.7 actually looks
lean to me, if it's actually running.  Your "bloat" might be the software
you requested.

Best,
Antonio

Reply to: