Why you can trust ZDNET
:ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission.Our process
'ZDNET Recommends': What exactly does it mean?
ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.
When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.
ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.
Your computer is filled with various types of files that you don't need or want hanging around. Given the way we work these days, much of that comes by way of the web browser cache, downloaded files, and temporary files. If you don't take care and remove those files, the applications that use or save them can become slow to respond or even not run at all.
It doesn't take much in the way of computer savvy to delete the various cached files your browser is saving.
The thing is, you just have to remember to do it. There are, of course, other cached files you might not know about.
Or, there might be applications that save cached files and there's no clear method of deleting those files.
That's when a tool like BleachBit comes in handy. In a single sweep, BleachBit can clear caches, delete cookies, clear your internet history, shred temporary files, delete logs, and toss out junk files. BleachBit is available for both Linux and Windows and works with thousands of applications to keep your system free and clear of buildup.
I'm going to show you how to install and use this handy tool, so you can keep your system free of unwanted garbage.
How to clean your system and free disk space with BleachBit
The only things you'll need for this are a supporting operating system (either Linux or Windows) and (in the case of Linux) a user with sudo privileges. I'll demonstrate the installation on Linux because the Windows installation is just a matter of downloading and double-clicking the BleachBit .exe file.
That's it. Let's get to work.
I'm going to demonstrate the installation on both Pop!_OS Linux and Fedora Linux, which will cover both RHEL (Red Hat Enterprise Linux)-based and Ubuntu-based installations.
Notice the * character in the command. That's called a wildcard. I put that in place of the BleachBit release number so that even if you download a newer version than is available on the date I wrote this piece, the installation command will still work.
sudo dpgk -i bleachbit*.deb -y
3. Install BleachBit on an RHEL-based distribution
If you use a RHEL-based distribution (such as Fedora), the installation command would be:
sudo rpm -i bleachbit*.rpm -y
That's it for the installation.
There are two ways to open BleachBit, with and without admin privileges. Here's the difference:
Without admin privileges isn't capable of cleaning files that require admin privileges but will clean your user profile.
With admin privileges is capable of cleaning files that require admin privileges but cannot clean your user profile.
I will also warn you that running with admin privileges should be done with care, as you could wind up deleting important system files. For example, running BleachBit with admin privileges allows you to clean journald, which cleans the journal (logging data) from the system. The admin privilege run of BleachBit also cleans shared parts of the system and cleans the root account. Because of all this, I would recommend not running BleachBit with elevated privileges.
So, when you run BleachBit, make sure you run the version that is not listed as BleachBit (as root).
When the app opens, you'll see a very simple screen where you can select everything you want to clean by clicking the associated checkbox in the left pane. One thing to keep in mind is that, in order to clean saved app files and caches, that app cannot be running. So, before you start BleachBit, close your web browser, email client, or any other app you might want to clear.
After making your selections in the left pane, click Preview. Why? Because the Preview will tell you how much space will be freed up by the cleaning, what is cleaned, and if there are any errors in the process.
If you're satisfied with what BleachBit reports, click Clean and the cleaning will begin. Depending on how much you're cleaning, the process can take some time. When the process completes, you'll get another report (very similar to the Preview report) and you can close the application.
And that's all there is to clean those unwanted files from your computer. I've been using BleachBit for years to clean my systems and have never run into a problem using the tool. Give it a try and see if it doesn't become your go-to for regular system cleaning.