How to clean up junk files on Ubuntu 22.04 and 20.04 LTS for disk cleanup. Over time, the system accumulates unnecessary files like cache, recent files, cookies, and temporary files. Learn how to efficiently remove these cluttered items for improved system performance.
Install BleachBit and Clean Junk Files on Ubuntu 22.04 and 20.04
BleachBit is an excellent tool for this purpose, as it precisely identifies and removes unnecessary files from various file systems. This specialized tool is designed to locate obsolete and unwanted files such as system cache, logs, and memory-related files. Notably, the files detected by BleachBit are typically outdated, so there’s no need to worry about their removal.
There are 2 ways to install BleachBit and clean up junk files on Ubuntu 20.04 | 22.04
Step 1: Download and Install the BleachBit .deb File
Visit the BleachBit homepage to download the version that corresponds to your operating system.
If you’re not sure what version of Ubuntu you’re using? Just run this command on terminal.
After downloading you can use the
dpkg command to install BleachBit. Remember to write the exact file name.
cd ~/Downloads/ sudo dpkg -i bleachbit_4.6.0-0_all_ubuntu2204.deb
If there is an error message, there is some dependency issue. To install all missing dependencies for BleachBit, run the following command:
sudo apt update && sudo apt upgrade -y sudo apt install -f
Another method to install junk cleaning software on Ubuntu 22.04 is by using APT in the Terminal. You can execute the following command:
sudo apt install bleachbit
Step 2. Clean up junk files, clean temporary files from Ubuntu
There are also 2 ways to open the software, the first way is to run with the command line:
The second way to use it is to search for BleachBit in the menu as shown below, you can also add BleachBit to the taskbar for convenience. (
Add to Favorites)
When the software interface is shown, you can configure it according to the purpose of use, and click Close to close the popup.
In the left panel, you will see options. These are the criteria to decide to clean the system’s junk files. I beat it all, don’t think.
To get started, click the Clean button and wait for the software to clean the system and clean temporary files from Ubuntu.
Above is a guide on how to clean junk files on Ubuntu 22.04 and 20.04 Linux. Helps you to free up space, free up memory and clean up trash effectively.