How to install BleachBit on Linux
Step-by-step guide
This article covers
- Where to get BleachBit packages for Linux
- Software dependencies
- How to verify the packages
- How to install packages on Linux
Sources
Linux users have a few choices for installing BleachBit.
- Download the latest installation package for your system.
- Install using your distribution’s package manager.
- Install from source.
Most popular distributions have BleachBit in their repositories, and this is a convenient way to install. However, Ubuntu, Debian, Linux Mint, and other distributions have a “no-rolling release policy,” which means they do not update their repositories with the latest BleachBit releases.
Here is an example of this policy. Ubuntu Questing 25.10 (released October 2025) will always have BleachBit 4.6.2, which was released October 2025, even though BleachBit 5.0 was released in May 2025. Users who want to upgrade to BleachBit 5 while using the Ubuntu repositories will have to upgrade to Ubuntu 26.04 in April 2026.
It is your choice to install from the distribution’s repositories, but in case of any issues with the software, first check for a newer release.
Software dependencies
BleachBit 5 requires GTK 3.24 and Python 3.8 or later. These are commonly preinstalled or available as packages on most Linux distributions.
Verifying packages
Verifying the digital signature protects against file corruption and tampering.
There are three options to verify packages. Pick one method.
- Embedded signatures
- Signed checksum file
- Detatched Signatures
GPG keys
To verify the digital signature, first you will need a public key. BleachBit versions 3.0 and later are signed with key 0xd6d447b02b4d4c9d (Ubuntu Keyserver or SourceForge). Older releases before BleachBit version 3.0 were signed with key 0x51416DE60E6887FD (Sourceforge). After downloading the key to a local file, import it into GnuPG like this:
$ gpg --import andrew2019.key
gpg: key D6D447B02B4D4C9D: public key "Andrew Ziem <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
Notice the key ID D6D447B02B4D4C9D in the console output matches the
key ID above on this web page. The key ID is case insensitive, and
the leading 0x is sometimes omitted, so the key IDs match.
Embedded signatures
Starting after BleachBit 5.0.2, the .rpm and .deb packages will be signed with the same key. This makes it easier to verify the signatures.
To verify a .deb file.
$ debsigs --verify bleachbit_5.0.2-0_all_ubuntu2504.deb
To verify a .rpm file.
$ rpm --checksig bleachbit-5.0.2-1.1.fc42.noarch.rpm
Detatched signatures
Detached signatures are separate files containing only the cryptographic signature. They verify a download’s authenticity without modifying the original file.
There is one detached signature per download. Look in the SourceForge release directory for a folder called detached_signatures, and in the folder will be a file with the same name as the download plus the .sig extension. For example, the detached signature for bleachbit_5.0.2-0_all_ubuntu2504.deb is named bleachbit_5.0.2-0_all_ubuntu2504.deb.sig. Here is an example of how to verify it.
$ gpg --verify bleachbit_5.0.2-0_all_ubuntu2504.deb.sig bleachbit_5.0.2-0_all_ubuntu2504.deb
gpg: Signature made Sat 26 Oct 2019 08:04:00 AM MDT
gpg: using RSA key A9E582E4054A159315EDC943D6D447B02B4D4C9D
gpg: Good signature from "Andrew Ziem <[email protected]>" [ultimate]
Signed checksums
Each BleachBit release comes with two files that work together to help you verify your download is authentic and unmodified:
The checksum file (bleachbit-5.0.2-sha256sum.txt) contains a SHA256 fingerprint for every file in the release. If even one byte of a download is corrupted or tampered with, its fingerprint will not match. The signed checksum file (bleachbit-5.0.2-sha256sum.txt.asc) is the same checksum file, but wrapped in a PGP cryptographic signature from the BleachBit developer. This lets you confirm the checksums themselves came from a trusted source and were not swapped out by an attacker.
Verification is a two-step process: first confirm the .asc file carries a valid signature, then use the checksums inside it to validate your downloaded file.
$ gpg --verify bleachbit-5.0.2-sha256sum.txt.asc
gpg: Signature made Fri 07 Nov 2025 08:51:03 PM MST
gpg: using RSA key A9E582E4054A159315EDC943D6D447B02B4D4C9D
gpg: Good signature from "Andrew Ziem <[email protected]>" [ultimate]
gpg: WARNING: not a detached signature; file 'bleachbit-5.0.2-sha256sum.txt' was NOT verified!
Watch for the “Good signature,” and ignore the warning.
Second, verify the checksums like this:
$ sha256sum -c bleachbit-5.0.2-sha256sum.txt.asc
bleachbit_5.0.2-0_all_debian11.deb: OK
bleachbit_5.0.2-0_all_debian12.deb: OK
bleachbit_5.0.2-0_all_debian13.deb: OK
bleachbit_5.0.2-0_all_ubuntu2004.deb: OK
bleachbit_5.0.2-0_all_ubuntu2204.deb: OK
bleachbit_5.0.2-0_all_ubuntu2404.deb: OK
bleachbit_5.0.2-0_all_ubuntu2504.deb: OK
BleachBit-5.0.2-portable.zip: OK
BleachBit-5.0.2-setup.zip: OK
bleachbit-5.0.2-1.1.alma9.noarch.rpm: OK
bleachbit-5.0.2-1.1.fc41.noarch.rpm: OK
bleachbit-5.0.2-1.1.fc42.noarch.rpm: OK
bleachbit-5.0.2-1.1.fc43.noarch.rpm: OK
bleachbit-5.0.2-1.1.opensuseSlowroll.noarch.rpm: OK
bleachbit-5.0.2-1.1.opensuseTumbleweed.noarch.rpm: OK
bleachbit-5.0.2-lp156.1.1.opensuse156.noarch.rpm: OK
bleachbit-5.0.2-lp160.1.1.opensuse160.noarch.rpm: OK
BleachBit-5.0.2-setup-English.exe: OK
BleachBit-5.0.2-setup.exe: OK
bleachbit-5.0.2.tar.gz: OK
bleachbit-5.0.2.tar.bz2: OK
bleachbit-5.0.2.tar.lzma: OK
sha256sum: WARNING: 15 lines are improperly formatted
If you did not download all the files in the release, you will see
“No such file or directory” errors for the missing files. This is expected.
Focus on confirming that the file you downloaded shows “OK” in the output.
You can also ignore the “improperly formatted” warning, which appears
because sha256sum does not recognize the PGP signature lines in the file.
Ubuntu, Mint, and Debian
Graphical package manager
Double click on the downloaded installation package which has a name like bleachbit_5.0.2-0_all_ubuntu2504.deb. Then, follow the prompts. You may see a security warning about third-party packages, and you may need to enter your password to install BleachBit.
Command line
Install using the command line like this:
sudo apt install bleachbit_5.0.2-0_all_ubuntu2504.deb
Using apt is recommended over dpkg because it will automatically install dependencies.
Fedora, Red Hat, CentOS
Graphical package manager
To install BleachBit using the graphical package manager, double click on the downloaded installation package which has a name like bleachbit-5.0.2-1.1.fc43.noarch.rpm. Then, follow the prompts.
Command line
Alternatively, install using the command line like this.
sudo dnf install bleachbit-5.0.2-1.1.fc43.noarch.rpm