Check how big your apt cache is
sudo du -sh /var/cache/apt/archives
Clean the apt cache
sudo apt-get clean
sudo apt-get autoremove --purge
sudo apt-get autoremove
Check the log size
journalctl --disk-usage
Clear the logs that are older than a certain days (3days in this example!!)
sudo journalctl --vacuum-time=3d
- Ubuntu automatically creates a thumbnail, for viewing in the file manager.
- It stores those thumbnails in a hidden directory in your user account at the location ~/.cache/thumbnails.
Check the size of thumbnail
du -sh ~/.cache/thumbnails
Clear the thumbnail cache (every few months or so!)
rm -rf ~/.cache/thumbnails/*