
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++ git
DOWNLOADING SOURCE CODES
now we need to grab the source codes:
$ git clone https://github.com/tpruvot/cpuminer-multi
navigate to the folder:
$ cd cpuminer-multi
COMPILING
To compile the software you will need to enter these commands below
$ ./autogen.sh
$ ./build.sh
when done you should have a file calledcpuminer

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