Five steps to quickly free Ubuntu/Linux Mint disk space
In this article, we will introduce some simple methods and techniques to help you clean up the Ubuntu/Linux Mint systems and get more free space.
- Remove the packages that are no longer needed
sudo apt autoremove - Remove thumbnails
rm -rf ~ / .cache / thumbnails / * - Clean up the APT cache
sudo du -sh / var / cache / apt - Remove the old Linux kernel
First, use the following command to list all the current Ubuntu Linux kernel has been installed:
sudo dpkg –list linux-image*
Removing an older kernel is the same as removing any other packages:
sudo apt remove linux-image-VERSION - Uninstall unnecessary applications
sudo apt remove package name
You can also use Stacer or bleachbit to rapidly clean your system and free disk space.