Skip to content

Example Guide

Linux Mint Cleanup Steps

Clean the Trash

Clean the updates cache

From the main menu, launch Synaptic Package Manager.

Panel of Synaptic: Settings - Preferences - Files

Select: Delete downloaded packages after installation

Press the button: Delete Cached Package Files

Remove Thumbnai cache

Check the size of the thumbnails cache

Terminal window
du -h ~/.cache/thumbnails

Delete the thumbnails cache if it is taking more space.

Terminal window
rm -rfv ~/.cache/thumbnails

Removing unused flatpack files

Check the storage size

Terminal window
du -sh /var/lib/flatpak

Remove unused flatpaks

Terminal window
flatpak uninstall --unused

Remove Old Kernels

Clean Go Cache Files

Terminal window
go clean -cache
go clean -modcache

Clean NPM cache

npx cache

Terminal window
npx clear-npx-cache

npm cache

Terminal window
npm cache clean --force

Use ncdu to inspect folder size

Conclusion