
A recent subscriber on my youtube channel requested to compile a version of cpuminer for Raspberry Pi to mine bitcoin / altcoins. Knowing that it’s not really worth the cpu cycles, I decided to compile a version for anyway. I have also wrote a quick tutorial explaining how to compile your own in case you want to.
EQUIPMENT LIST
Raspberry Pi 3 ► Amazon | Ebay
SOURCE CODE USED:
https://github.com/tpruvot/cpuminer-multi
DOWNLOAD:
INSTALLING DEPENDENCIES
first you will need to install all the dependence:
$ sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ gitDOWNLOADING SOURCE CODES
now we need to grab the source codes:
$ git clone https://github.com/tpruvot/cpuminer-multinavigate to the folder:
$ cd cpuminer-multiCOMPILING
To compile the software you will need to enter these commands below
$ ./autogen.sh
$ ./build.shwhen done you should have a file calledcpuminer

to figure out what you need you should try using the help
$ cpuminer --helpUSAGE
here is a example connection
$ ./cpuminer -u user -p pass -a algorithm -o stratum+tcp://pool:1234 -t cputhreadsif your mining this with a pi, try lowering the diff factor with the command below.
-f numReference: https://www.novaspirit.com/2017/04/10/cpuminer-raspberry-pi/
Comments are closed