1. Clear the APT Cache
Find out how large is the apt package cache:
du -sh /var/cache/apt/archives
Clear the cache:
sudo apt-get clean
2. Remove Old Kernels
Not sure how it works, really but here we go,
Proceed with caution:
sudo apt-get autoremove --purge
3. Last, stay up to date
Do this regularly
sudo apt update && upgrade
You can read the full article where I found the above commands here.
- Post Changelogs
- 17th Aug 2024 - Publish Date