First off, you’re not going to get rich from mining on your old unused BeagleBone black and you’ll arguably only lose money, but for about 10W of power, you might be able to mine some low difficulty altcoins that are cpu or gpu only. I am currently mining Galactrum on mine using CPUminer-multi.
Thanks to its wide array of miners, you can use cpuminer-multi to mine a lot of altcoins, so lets get into compiling it.
First, the deps
$ sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ git
Now lets make a folder for it
Now we need the source code
git clone https://github.com/tpruvot/cpuminer-multi
Now lets get to the compiling
./autogen.sh && build.sh
Yep, really that easy.
The usage for cpuminer-multi is below. Have fun mining! and Since cryptopia has been hacked, If you need a new exchange to trade on, check out my four favorite exchanges here
./cpuminer -u user -p pass -a algorithm -o stratum+tcp://pool:1234 -t cputhreads