I usually use BleachBit before backing up my data drive or imaging my system partition. It can cut down a several 100 MBs to a couple GBs from cached files.
Settings I use:
- Ran as current user:
- Bash - clear history
- Firefox - everything (it's not my main web browser)
- Google Chrome - just cache
- LibreOffice - everything
- System - cache, custom, recent documents list, rubbish bin
- Thumbnails
- VLC media player
- Ran as root:
- APT - autoclean, autoremove, clean
- Could do "package lists" too, it just requires
sudo apt update
the next time you'd like to install stuff.
- Could do "package lists" too, it just requires
- APT - autoclean, autoremove, clean
- System - cache, localisations, rotated logs, rubbish bin (
/root/
)- Localisations - make sure you set this in the settings! Since I'm , I only have "en" and "en-GB" checked.
For custom, I have it pointing to a few areas, notably Steam and Spotify:
/path/to/steam/appcache/httpcache/
/path/to/steam/config/htmlcache
/path/to/spotify/Browser/GPUCache
/path/to/spotify/Browser/Cache
Right now, there's 1.14 GB and 65.8 MB worth of harmless yet unnecessary files. All modern operating systems accumulate "cache" intended to speed up the computer... it seems to grow quicker if I've been online a fair bit.
I never used BleachBit to remove kernels, I use this command instead and haven't had a problem:
It helped once identify that I was in fact still booting a 4.4 kernel when my system was "updating" to 4.10...
If ever in doubt, I'd recommend keeping backups/snapshots of your system.