Ubuntu:
add-apt-repository ppa:unit3/bfgminer apt-get update apt-get install bfgminer
Debian:
2: Run „apt-get update”
3: Run „apt-get install git autoconf automake libtool pkg-config libcurl4-gnutls-dev libjansson-dev uthash-dev libncurses5-dev”
4: Run „git clone git://github.com/luke-jr/bfgminer.git”
5: Enter the bfgminer directory
6: Run „./autogen.sh”
7: Run „./configure” (if you do not want to use GPUs on the machine, add –disable-opencl)
8: Run „make”
9: After make completes, you can run bfgminer directly (may require sudo), or create a shell script that includes your arguments.
Running BFGMiner:
./bfgminer -o stratum+tcp://stratum.btcguild.com:3333 -u username_workername -p 123 -S all –icarus-options 115200:1:1 –icarus-timing 3.0=100