Bfg-repo-cleaner: How to install?

Created on 8 Dec 2017  Â·  12Comments  Â·  Source: rtyley/bfg-repo-cleaner

Why are there still no instructions on how to install? Googling doesn't give much helpful info on how to go about it on Ubuntu.

Most helpful comment

A big Me Too on this subject. I have a mac, so finding out about homebrew here was great, but that info should have been easy to find, along with instructions how to install on my Ubuntu and Windows machines.

All 12 comments

Is #196 any help?

++ To this. I downloaded the .jar today 12/12/2017 and it refuses to launch. I re-updated my JRE and still no bueno. MacOSX High Sierra. Shame this isn't in homebrew or something of the sort.

You also have to update/install the JDK.

BTW, bfg _is_ in Homebrew. And IIRC when installing via Homebrew you even get a reminder to install the JDK.

– Tom

thanks :)

A big Me Too on this subject. I have a mac, so finding out about homebrew here was great, but that info should have been easy to find, along with instructions how to install on my Ubuntu and Windows machines.

My experience bfg is a wonderful application. It's fast and does what it says. Great stuff.

On macOS, the homebrew install makes a clean, simple, /usr/local/bin/bfg command. Simple.

On Linux we have to... download (or even worse: build?) a .jar file? I've not had to do that for about a decade. Is it hard to make a Linux rpm or deb (preferably both) to enable a simple bfg command (on Linux)?

All in all - it's a relatively easy problem to solve as a user. I'm just trying to make it easier on my config control and our team's sysadmin (docs, team training, and execuation).

Thank you again for making a great tool!

Update: bfg install via Homebrew-on-Linux appears to work, automating all the java (and related) pkg installs and resulting in a bfg command--all just like on macOS. I ran these instructions (which feels quite a bit slower in my Ubuntu kvm virtual machine that on my MacBook Pro, even though the Ubuntu kvm VM has some decent specs: $80/mo on DigitalOcean) to install Homebrew on Ubuntu 18.04.4, and then I ran:

brew install bfg

bfg appears to work fine per some minimal testing I performed, in its usual snappy-performance self. My Homebrew install directory took up ~1.2GB of storage space.

For linux one could use ansible to install the bfg https://galaxy.ansible.com/030/ansible-bfg. If a deb has to be created as well, please let me know. Then I could create a PR in rtyley/bfg-repo-cleaner

Hello, I am trying to install bfg, and I keep getting a command not found error. Any help would be appreciated.

@druvinskiy Did you configure the alias?

In all these examples bfg is an alias for java -jar bfg.jar

I notice that there are a couple of open PRs adding some installation instructions to this repo. Is there any interest in reviving them ? Do the project devs have a different idea of where to put the installation instructions?

Let me know if another (?) PR is welcome on this issue

Hello, I am trying to install bfg, and I keep getting a command not found error. Any help would be appreciated.

I tried installing bfg, I have Java version 1.8 but whenever I click on the installed file it does not open anything.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dpopiashvili picture dpopiashvili  Â·  5Comments

A-to-A picture A-to-A  Â·  4Comments

jtheletter picture jtheletter  Â·  5Comments

mesqueeb picture mesqueeb  Â·  3Comments

Unknown6656 picture Unknown6656  Â·  3Comments