The answer is no...Mint doesn't fill up with crap and doesn't slow down over time either but there are a few things you can do.
If you're a beginner to Linux Mint...there are a few safe Terminal commands you can run to give you peace of mind.
I've collected these over a few years and hope these help.
Note...there are no defragging commands as there's no fragmentation in Linux and never defrag an SSD.
You can see the size of this cache with the command below:
Or clean out the cache in its entirety (frees more disk space):
Sometimes the journal can be unexpectedly large. To check the space the journal is taking, you can run:
du -sh /var/log/journal
To check journal disk usage…
sudo journalctl --disk-usage
To clean Journal Logs and set a size…
sudo journalctl --vacuum-size=100M
A few other things to do...Empty the Trash Bin...Remove excess Timeshift Snapshots if running Timeshift on the same Drive... keep just two.
I create snapshots on an External HDD so space isn't a problem.
Panel of Synaptic: Settings - Preferences – Files
Select: Delete downloaded packages after installation
Press the button: Delete Cached Package Files
I always move Videos...Music...Files etc to an External HDD from time to time but the biggest items that take up Disk space are Virtual Machines which you can Export if you wish...it's advisable to always keep 20% of Disk Space free...I have a 500GB SSD and never let it go over 50% full because it takes longer to create an Image with Foxclone...Redorescue or Timeshift.
Anyway I hope this helps people new to Linux Mint because that's what we're here for...it's really not that hard.
If you're a beginner to Linux Mint...there are a few safe Terminal commands you can run to give you peace of mind.
I've collected these over a few years and hope these help.
Note...there are no defragging commands as there's no fragmentation in Linux and never defrag an SSD.
Get rid of packages that are no longer required and Old Kernels.
Code:
Sudo apt-get autoremove
You can see the size of this cache with the command below:
Code:
sudo du -sh /var/cache/apt
Now, you have two options to handle the cache.
Either remove only the outdated packages, like those superseded by a recent update, making them completely unnecessary.
Either remove only the outdated packages, like those superseded by a recent update, making them completely unnecessary.
Code:
Sudo apt-get autoclean
Code:
sudo apt-get clean
Clean the thumbnail cache
You can check the size of thumbnail cache with the command below:
So it’s a good practice to clear the thumbnail cache every few months or so. The quickest way is to use the terminal:
Trim all currently attached and mounted SSDrive partitions and to provide details
Code:
du -sh ~/.cache/thumbnails
Code:
rm -rf ~/.cache/thumbnails/*
Code:
sudo fstrim -av
Sometimes the journal can be unexpectedly large. To check the space the journal is taking, you can run:
du -sh /var/log/journal
To check journal disk usage…
sudo journalctl --disk-usage
To clean Journal Logs and set a size…
sudo journalctl --vacuum-size=100M
A few other things to do...Empty the Trash Bin...Remove excess Timeshift Snapshots if running Timeshift on the same Drive... keep just two.
I create snapshots on an External HDD so space isn't a problem.
Clear the updates cache…
Launch Synaptic Package Manager.Panel of Synaptic: Settings - Preferences – Files
Select: Delete downloaded packages after installation
Press the button: Delete Cached Package Files
I always move Videos...Music...Files etc to an External HDD from time to time but the biggest items that take up Disk space are Virtual Machines which you can Export if you wish...it's advisable to always keep 20% of Disk Space free...I have a 500GB SSD and never let it go over 50% full because it takes longer to create an Image with Foxclone...Redorescue or Timeshift.
Anyway I hope this helps people new to Linux Mint because that's what we're here for...it's really not that hard.
Last edited: