Alt Text

A screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system

  • Zangoose@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    It looks like yay was storing AUR build files there, that folder took up about 160 of the 164GiB

    • SuperIce@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      11 months ago

      You can use yay -Sc to clean the cache. It’ll also ask you if you want to clean the pacman cache, which I’m assuming you also haven’t cleaned (check the size of /var/cache/pacman).

      • 30p87@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        One would just need to modify the pacman cache hook for yay. I’m too lazy tho.

      • EddyBot@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        11 months ago

        it doesn’t matter if you use paru, yay or heck makepkg if you are compiling packages with hilariously large sources like for example webbrowser (librewolf, brave, ungoogled-chromium, firedragon take each like ~30 GB) without pruning the build cache afterwards