I'm using Linux Mint and I'm wondering how I can clear out temporary files similar to how you would do it in Windows with Disk Cleanup or through the settings. What's the best way to handle this on Linux?
5 Answers
I personally use BleachBit as well, both as a regular user and with root privileges, but I tend to use it cautiously. It can be beneficial, but make sure you know what you're cleaning up.
You can delete temporary files in your Linux Mint by using the command `rm -r .cache`. Also, many package managers come with a clean command that can help clear out unnecessary files. Another handy tool is BleachBit; it lets you choose specific items to clean. Just remember to run it with `sudo` if you hit any permission issues!
I think BleachBit is a great tool, although it might seem a bit overkill for some people's needs. It's effective if you want more control over what gets cleaned.
I would actually advise against heavy cleaning. Linux generally manages its cache pretty well. You might notice minor clutter, but it's really not a big problem compared to Windows. I’ve gone years without worrying about cache and have only cleared my browser's cache occasionally.
Honestly, I rarely feel the need to clean up temporary files in Linux. If you decide to use clean-up tools, it's safer to run them as a standard user to just tidy up your home directory instead of cleaning the system-wide files, which might cause issues. I usually only clear out old log files that I know I won't need anymore.
I'm not looking for something to clean the whole system. Just something similar to Windows. I know I won't gain much from it, but it feels nice to keep things fresh, like changing a wallpaper.

I'll look into that. Thanks!