Reminder to clear your ~/.cache folder every now and then

Zangoose@lemmy.world to Linux@lemmy.ml – 425 points –

::: spoiler 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 :::

142

You are viewing a single comment

It's yay, which took up ~160 GiB. It was storing previous versions of AUR binaries which I guess added up over time. I posted a screenshot of ncdu outputs for a more detailed breakdown in one of the other reply threads

yay -Sc(c)

Is probably a better command in this instance

Honestly the reason I've put yay/paru's build directory into ram/tmpfs long ago. It's almost never worth it keeping all those packages checked out. You also do your ssd a favour by not hammering it with compile workloads.