---
title: Install BFG Repo-Cleaner (UNOFFICIAL) on Linux | Snap Store
description: Get the latest version of BFG Repo-Cleaner (UNOFFICIAL) for Linux - Removes
  large or troublesome blobs like git-filter-branch does, but faster
url: https://snapcraft.io/bfg-repo-cleaner
---

# BFG Repo-Cleaner (UNOFFICIAL) (bfg-repo-cleaner)

[林博仁 Buo-ren Lin (brlin)](https://snapcraft.io/publisher/brlin "View all snaps from 林博仁 Buo-ren Lin (brlin)")

* [林博仁 Buo-ren Lin (brlin)](https://snapcraft.io/publisher/brlin "View all snaps from 林博仁 Buo-ren Lin (brlin)")
* [Development](https://snapcraft.io/search?categories=development)
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 1.14.0

Install latest/stable of BFG Repo-Cleaner (UNOFFICIAL)

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install bfg-repo-cleaner
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* bfg-repo-cleaner

---

### License

* GPL-3.0

---

### Last updated

* 29 July 2024 - latest/stable
* 2 August 2024 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/brlin-tw/bfg-snap](https://github.com/brlin-tw/bfg-snap "https://github.com/brlin-tw/bfg-snap")

---

### Contact

* [github.com/brlin-tw/bfg-snap/issues](https://github.com/brlin-tw/bfg-snap/issues "https://github.com/brlin-tw/bfg-snap/issues")

---

### Command › Alias

* bfg-repo-cleaner.bfg-repo-cleaner › bfg

---

### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/bfg-repo-cleaner#report-snap-modal)

---

* [Description](https://snapcraft.io/bfg-repo-cleaner#tab-description)
* [Security](https://snapcraft.io/bfg-repo-cleaner#tab-security)

#### Removes large or troublesome blobs like git-filter-branch does, but faster

The BFG is a simpler, faster alternative to [`git-filter-branch`][1] for cleansing bad data out of your Git repository history:

* Removing **Crazy Big Files**
* Removing **Passwords**, **Credentials** & other **Private data**

The `git-filter-branch` command is enormously powerful and can do things that the BFG can't - but the BFG is *much* better for the tasks above, because:

* [Faster][2] : **10 - 720x** faster
* [Simpler][3] : The BFG isn't particularily clever, but *is* focused on making the above tasks easy
* Beautiful : If you need to, you can use the beautiful Scala language to customise the BFG. Which has got to be better than Bash scripting at least some of the time.

[1]: <http://git-scm.com/docs/git-filter-branch>
[2]: <https://rtyley.github.io/bfg-repo-cleaner/#speed>
[3]: <https://rtyley.github.io/bfg-repo-cleaner/#examples>

**Snap-specific notes**

You can adjust JVM max heap size limit via the following command:

```
 sudo snap set bfg-repo-cleaner jvm.xmx=2048m
```

No other JVM parameters are supported as of now.

---

## Install BFG Repo-Cleaner (UNOFFICIAL) on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/bfg-repo-cleaner/arch)

[### CentOS](https://snapcraft.io/install/bfg-repo-cleaner/centos)

[### Debian](https://snapcraft.io/install/bfg-repo-cleaner/debian)

[### elementary OS](https://snapcraft.io/install/bfg-repo-cleaner/elementary)

[### Fedora](https://snapcraft.io/install/bfg-repo-cleaner/fedora)

[### KDE Neon](https://snapcraft.io/install/bfg-repo-cleaner/kde-neon)

[### Kubuntu](https://snapcraft.io/install/bfg-repo-cleaner/kubuntu)

[### Manjaro](https://snapcraft.io/install/bfg-repo-cleaner/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/bfg-repo-cleaner/pop)

[### openSUSE](https://snapcraft.io/install/bfg-repo-cleaner/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/bfg-repo-cleaner/rhel)

[### Ubuntu](https://snapcraft.io/install/bfg-repo-cleaner/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/bfg-repo-cleaner/raspbian)
