BleachBit – A Free Disk Space Cleaner and Privacy Guard for Linux Systems

When you are browsing the internet, installing and uninstalling software, it’s really possible that you leave traces everywhere. It may eat your hard disk space without you realize or in a browser world, your trace may consist of your private information. To anticipate this, there is a software which can delete all traces called Bleachbit.

Install BleachBit in Linux
Install BleachBit in Linux

What is Bleachbit?

If you are familiar with CCleaner on Microsoft Windows platform, Bleachbit is similar to that. Bleachbit is an open source application that quickly cleans and free your harddisk space from the system and tirelessly shield your privacy. It’s also free your cache, cleans internet history (including Firefox, IE, Chrome, Opera, Safari, Adobe Flash and much more) deletes cookies and logs, shred temporary files and discard junk.

Features

Here is the list of some features of BleachBit:
  1. Click preview, click delete, check boxes, read description
  2. Supports Linux and Windows
  3. Free to modify, share and learn (open source)
  4. No browser toolbars, ads, malware or spyware
  5. Supports 61 languages
  6. Shred files to hide contents and avoid data recovery
  7. Overwrite free disk space to hide previously deleted files
  8. Support for Command line scripting and automation
  9. CleanerML allows anyone to write a new cleaner using XML
  10. Constant updates with latest features

How to Install Bleachbit in Linux

Bleachbit installer is available in .deb and .rpm packages. It really makes us as a user easy to install. Just go to the official bleachbit download page at.

  1. http://bleachbit.sourceforge.net/download/linux

If you are using a distribution which not use .deb or .rpm, or you want to compile it by yourself, you can download the source code version from the link below.

  1. http://bleachbit.sourceforge.net/download/source

You may also use the following yum command to directly download and install the rpm package as shown below.

On RHEL / CentOS / Fedora

For RHEL 6
# yum localinstall http://katana.oooninja.com/bleachbit/sf/bleachbit-1.0-1.1.centosCentOS-6.noarch.rpm
For CentOS 6
# yum localinstall http://katana.oooninja.com/bleachbit/sf/bleachbit-1.0-1.1.el6.noarch.rpm
For Fedora 19/18/17
# yum localinstall http://katana.oooninja.com/bleachbit/sf/bleachbit-1.0-1.1.fc19.noarch.rpm
# yum localinstall http://katana.oooninja.com/bleachbit/sf/bleachbit-1.0-1.1.fc18.noarch.rpm
# yum localinstall http://katana.oooninja.com/bleachbit/sf/bleachbit-1.0-1.1.fc17.noarch.rpm

On Debian / Ubuntu / Linux Mint

# sudo apt-get install bleachbit

How to Run Bleachbit

After the installation, you can search via Ubuntu Start Menu if you are using Ubuntu Linux.

BleachBit
BleachBit

If you’re using other distribution, you can run it from the terminal as shown.

# bleachbit

For the first time, bleachbit will ask you about its preferences. You can skip it if you want to configure it later.

Preferences
Preferences

After that, you will see the main window of Bleachbit.

Main Window
Main Window

If you are running as a user, you may see an error like this when you are trying to clean a system area.

Error Delete
Error Delete

Bleachbit Features

Default Clean

On the main window, there are some subjects to clean such as APT, Deep Scan and System. You can click on the available boxes to include it on clean activity. Or you can Preview it before you do Clean.

Clean
Clean

A warning message will pop-up when you click Clean button.

Warning
Warning

Click Delete button to proceed.

Shred Files and Folders

Bleachbit can also shred files or folders. Just press File > Shred Files or File > Shred Folders. Shred means that all the files and or folders which got shredded wont be able to recover again. So you have to make sure before doing this.

Shred Files Folders
Shred Files Folders
Shred Files
Shred Files
Shred Folders
Shred Folders
Delete Confirmation
Delete Confirmation

Once you are sure with this, press Delete.

Wipe free space

To wipe your free space, you can do it via File > Wipe Free Space. You need to choose a folder. Wipe Free Space is used to overwrite a free space in a specific folder so even deleted files inside that folder can not be restored again. Please be careful with this feature. You have to make sure before doing this!.

Wipe Free Space Choose Folders
Wipe Free Space Choose Folders
Wipe Free Space
Wipe Free Space

This process could take some time depending on how much data you have in the directory that you are wiping.

Conclusion

Sometimes we need a tool to clean our system since users cannot monitor the usage of harddisk space all the time. Bleachbit can help us to free up our harddisk space from unused files. Plus a bonus that Bleachbit can also keep our privacy safe. To explore more detail about it, please type man bleachbit on your console.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Pungki Arianto
Currently I am a Linux/Unix administrator. But I also play Windows both in server and desktop area. Interested in information technology, information security and writing.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.