bleachbit command not found

In this troubleshooting guide we learn how to fix bleachbit command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bleachbit: command not found

or when using sudo you get the following error message

sudo: bleachbit: command not found

Solutions to bleachbit: command not found

How To Fix bleachbit: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bleachbit is provided by bleachbit package.

bleachbit is:

BleachBit deletes unnecessary files to free valuable disk space, maintain privacy, and remove junk. It removes cache, Internet history, temporary files, cookies, and broken shortcuts.

It handles cleaning of Adobe Reader, Bash, Beagle, Epiphany, Firefox, Flash, GIMP, Google Earth, Java, KDE, OpenOffice.org, Opera, RealPlayer, rpmbuild, Second Life Viewer, VIM, XChat, and more.

Beyond simply erasing junk files, BleachBit wipes free disk space (to hide previously deleted files for privacy and to improve compression of images), vacuums Firefox databases (to improve performance without deleting data), and securely shreds arbitrary files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install bleachbit

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install bleachbit.

sudo apt -y install bleachbit

Or if you have aptitude installed you can use the following command.

sudo aptitude install bleachbit

Summary

In this tutorial we learn how to fix bleachbit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.