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

  • SuperIce@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    Did you happen to see which subdirectory was using up this much space? I don’t think I’ve ever seen .cache go above 10GB, so this may be a bug in a piece of software you use.

      • Zangoose@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        Looks like yay is storing every previous binary for AUR bin packages (also excuse the unreadable terminal theme, it doesn’t play very well with a lot of TUI apps unless they support custom theming)

        • neonred@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          Wow, I’ve never seen something like this.

          Is it" allowed"? I mean, there are quotas for user homes.

        • Bronco1676@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          You should run yay -Sc from time to time. This cleans a) your pacman cache (which is normally done by executing pacman -Sc) b) your AUR build cache, which is what’s taking up 160GB. But this one seems rather unusual, I use paru (which also has the command paru -Sc), so I can’t really tell if this is normal with yay.

          The command also asks you for every directory if you want to delete it or not, so it’s completely save to run that command.