ncdu does the trick!

thank u all 4 ur answers.

12G vosk bloat won't ever fit into my available 1G on my 11G MMC:

(debian)czyborra@localhost:~$ df -hl /
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1   11G  8.7G  1.1G  90% /

my pip3 install vosk had failed before even starting any install.

my sudo apt install ncdu cost me 0.000981GB.

bloats identified by ncdu -x / are

--- /usr/lib/x86_64-linux-gnu
   99.4 MiB [##########]  libQt5WebEngineCore.so.5.11.3
   57.7 MiB [#####     ]  libLLVM-7.so.1
   44.7 MiB [####      ] /guile
   33.0 MiB [###       ] /dri
   25.9 MiB [##        ]  libicudata.so.63.1
   23.2 MiB [##        ] /perl
   15.2 MiB [#         ]  libx265.so.165
   13.4 MiB [#         ]  libavcodec.so.58.35.100

--- /usr/share/locale
    5.5 MiB [##########] /fr
    5.2 MiB [######### ] /uk
    4.8 MiB [########  ] /ru
    4.4 MiB [########  ] /sv
    4.2 MiB [#######   ] /de
    4.0 MiB [#######   ] /es

--- /usr/share/emacs/26.1/lisp
   13.2 MiB [##########] /leim


    7.8 MiB [#####     ] /progmodes
    5.3 MiB [####      ] /org
    5.0 MiB [###       ] /gnus
    4.2 MiB [###       ] /cedet
    3.3 MiB [##        ] /net
    3.2 MiB [##        ] /emacs-lisp
    2.7 MiB [##        ] /textmodes
    1.9 MiB [#         ] /vc
    1.9 MiB [#         ] /calc
    1.6 MiB [#         ] /international

--- /usr/share/doc
    3.5 MiB [##########] /git
    2.2 MiB [######    ] /xserver-xorg-core
    2.2 MiB [######    ] /xserver-common
    1.2 MiB [###       ] /gcc-8-base
    1.1 MiB [###       ] /i3-wm
    1.1 MiB [###       ] /xterm
    1.1 MiB [###       ] /dpkg-dev
    1.1 MiB [###       ] /libdpkg-perl
    1.1 MiB [###       ] /dpkg
    1.1 MiB [##        ] /exim4-base

--- /usr/share/icons/Adwaita
   11.5 MiB [##########] /cursors
    5.1 MiB [####      ] /256x256
    3.6 MiB [###       ] /48x48
    3.5 MiB [###       ] /16x16
    3.5 MiB [###       ] /32x32
    3.5 MiB [###       ] /24x24
    2.5 MiB [##        ] /512x512
    2.0 MiB [#         ] /scalable
    2.0 MiB [#         ] /96x96

--- /usr/share/qt5
   26.1 MiB [##########] /translations
    8.3 MiB [###       ] /resources

--- /usr/share/fonts
   18.5 MiB [##########] /X11
    2.8 MiB [#         ] /truetype

--- /usr/share/perl/5.28.1
    4.6 MiB [##########] /unicore
    3.5 MiB [#######   ] /Unicode
    2.4 MiB [#####     ] /Locale
    1.1 MiB [##        ] /ExtUtils
    1.1 MiB [##        ] /Pod
    1.0 MiB [##        ] /CPAN

--- /usr/bin
   37.5 MiB [##########]  emacs-nox
    5.2 MiB [#         ]  links2
H   4.7 MiB [#         ]  python3.7m

--- /var/cache/apt
. 128.1 MiB [##########] /archives
   45.9 MiB [###       ]  pkgcache.bin


   45.8 MiB [###       ]  srcpkgcache.bin

--- /var/lib/apt/lists
   61.4 MiB [##########]
 httpredir.debian.org_debian_dists_buster_main_Contents-i386.lz4
   61.4 MiB [######### ]
 httpredir.debian.org_debian_dists_buster_main_Contents-amd64.lz4
   42.6 MiB [######    ]
 httpredir.debian.org_debian_dists_buster_main_binary-amd64_Packages
   42.3 MiB [######    ]
 httpredir.debian.org_debian_dists_buster_main_binary-i386_Packages
   38.6 MiB [######    ]
 httpredir.debian.org_debian_dists_buster_main_source_Sources
   28.1 MiB [####      ]
 httpredir.debian.org_debian_dists_buster_main_i18n_Translation-en


--- /var/lib/dpkg/info
    1.8 MiB [##########]  keyboard-configuration.config
    1.1 MiB [#####     ]  libflite1:amd64.symbols


Op wo 5 mrt 2025 om 15:50 schreef Antonio Russo <aeru...@aerusso.net>:

> 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 via email to