Installing the latest bfgminer on Linux Debian
In this tutorial we learn how to install the latest BFGMiner on your Linux Debian (or Ubuntu) machine directly from GitHub. At the time of writing version 3.10.0 was the most current one. First we will install all the required tools to build BFGMiner, then we download it from the GitHub repository and then finally compile and run it.
If a command fails, it may require root privileges so simply add “sudo” in front of the command. Lets start:
- Open a terminal (if it is on a remote machine, SSH into it)
- Run “apt-get update”
- Run “apt-get install git autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncurses5-dev”
- Run “git clone git://github.com/luke-jr/bfgminer.git”
- Enter the bfgminer directory (eg. “cd bin/bfgminer”)
- Run “./autogen.sh”
- Run “./configure” (if you don’t want to use GPU support on the machine add the flag –disable-opencl)
- Run “make”
- When make completes, you can run bfgminer directly from within the directory: run “./bfgminer” and enter the pool, workername and password
- BFGMiner starts now to mine