How to Install BleachBit on Ubuntu 22.04 or 20.04

BleachBit is a free open-source disk space cleaner, privacy manager, and computer system optimizer. Any Ubuntu user who has used the Ubuntu Cleaner software would see similar traits in BleachBit. The following tutorial will demonstrate how to install BleachBit on Ubuntu 22.04 Jammy Jellyfish or Ubuntu 20.04 Focal Fossa using the standard APT repository.

Update Ubuntu Packages – System Upgrade

Before you begin, run an update on your system to ensure all packages are up-to-date to avoid any conflicts during the installation.

sudo apt update

Optionally, you can list the updates for users who require review or are curious.

sudo apt --list upgradable

Proceed to upgrade any outdated packages using the following command.

sudo apt upgrade

Install BleachBit

By default, BleachBit is present on Ubuntu’s default APT repositories making the installation quick and straightforward.

Run the following command to install BleachBit on your Ubuntu desktop.

sudo apt install bleachbit -y

How to Launch BleachBit

Launching can be done in a few ways now that you have the software installed.

In your terminal, use the following command.


However, not all people have a terminal open on their desktops. Use the following path to locate the application icon and launch the media player directly.

Activities > Show Applications > BleachBit


When you open Bleachbit, you will notice a configuration menu where you can customize the settings or leave the defaults. You can always fine-tune this later on.


Now you can go through slowly the left-side list to select options to clean.


Congratulations, you have installed BleachBit on your Ubuntu desktop.

Additional Commands & Tips

How to Update BleachBit

The software should update itself with your system packages for desktop users using the APT package manager. For users who want to check manually, use the following command in your terminal.

sudo apt update && sudo apt upgrade

Lastly, use the following command for any user that installed Bleachbit using the Flatpak method.

flatpak update

How to Remove BleachBit

Use the following command entirely for users who no longer wish to have BleachBit on their system and want to remove the software.

sudo apt autoremove bleachbit --purge

The above command is a blanket command that will remove all associated unused dependencies along with BleachBit and any saved data created by the software for complete removal.


The tutorial taught you how to install bleachbit on Ubuntu using two different methods on your Ubuntu desktop. Overall, this software is an excellent choice for users seeking additional support or alternative software to keep their Ubuntu system clean and optimized.

See also
How to Install Linux Kernel 6.1 on Fedora Linux

Leave a Comment

Share to...