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

Doesn’t Steam store the game library there?

No, .cache is similar to a temporary directory (or at least in theory) where important data isn't supposed to be stored there, instead only temporary files that might speed things up (e.g. images in a browser or thumbnails in a file manager). In this case it looks like all of my AUR packages had their source files cached, which added up over the ~1.75 years that I've been running this distro

Yep my bad! I mis-remembered .local/share/steam as . cache/share/steam. :)

it stores it in ~/.steam

Ah I was getting it confused. At one point Steam stored everything in ~/.local/share/steam and symlinked ~/.steam to it. Doesn't appear to be the case on Ubuntu 22.04, though I used to use Debian and grab the .deb from Valve's website. My bad! :)