Google+ Followers

Sunday, June 30, 2013

Quickstart Howto: Install bfgminer on MacOS X on Lion

It is very easy to install the Bitcoin, Litecoin miner bfgminer on MacOS X.


1. XCode

First you need to install XCode from the AppStore.

XCode found in the AppStore

2. Install XCodes Command Line Tools

To install the Command Line Tools in XCode you need to select XCode -> Preferences -> Download. Then you will see the possibility to install the "Command Line Tools".
Install Command Line Tools in XCode
When you do not install the Command Line Tools in XCode you will see the Error:

configure: error: in `/Users/username/bfgminer':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

3. Homebrew

After installing XCodes Command Line Tools you need to install Homebrew, which is like macports port. I prefer brew, which is much fancier than port.
For more details about Homebrew visit their Website: Homebrew - "The missing package manager for OS X"

To install it just run:
ruby -e "$(curl -fsSL"
 After installing run the Command
brew doctor
To clean up. This is useful if you used port before.

4. Add an additional Repository to Homebrew and install bfgminer

Add the caktux Repository, which contains everything you need.

brew tap caktux/bitcoin
brew install bfgminer

Please note that this configuration is not compiled with CPU support.

Have fun!

If this helped you, it is possible to Donate using BitCoin: 12wwaAo85poj4oLgo3zL5r3cDD8J9AC3Ap

1 comment:

  1. Thanks Nil! Glad to see someone using my tap :)

    I added the --with-cpumining option a few days ago and updated bfgminer to 3.1.4 just now.