A recent subscriber on my youtube channel requested to compile a version of cpuminer for bitcoin / alt coins. Knowing that it’s not really worth the cpu cycles, I decided to compile a version for raspberry pi anyway.
source code used:
If you feel like compiling it yourself.
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
now we need to grab the source codes:
git clone https://github.com/tpruvot/cpuminer-multi
navigate to the folder:
lets start compiling:
./automake.sh && build.sh
when done you should have a file called cpuminer
to figure out what you need you should try using the help
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
so you are able to submit work.