How to quickly free Ubuntu/Linux Mint disk space

In this article, I will introduce some simple methods and techniques to help you clean up the Ubuntu/Linux Mint systems and get more free space.

  1. Remove the packages that are no longer needed
    sudo apt autoremove
  2. Remove thumbnails
    rm -rf ~ / .cache / thumbnails / *
  3. Clean up the APT cache
    sudo du -sh / var / cache / apt
  4. 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
  5. Uninstall unnecessary applications
    sudo apt remove package name

You can also use Stacer or bleachbit to rapidly clean your system and free disk space.

Stacer

 

bleachbit

 

 

Support Our Threat Intelligence

If you find our technology report and cybersecurity news helpful, consider supporting our work.

Crypto QR Code
USDT (TRC20):
TN8BdV8cp4T1Cd28gK9qTAnZknzzuwyUtm
USDT (ERC20):
0x3725e1a7d3bc5765499fa6aaafe307fabcd75bce