sudo apt-get update
sudo apt-get install build-essential libcurl4-openssl-dev git automake libtool libjansson* libncurses5-dev libssl-dev zlib1g-dev
git clone –recursive https://github.com/tpruvot/cpuminer-multi.git
cd cpuminer-multi
git checkout linux
./autogen.sh
./configure CFLAGS=”-march=native” –with-crypto –with-curl
make
vi cpuminer-conf.json
./cpuminer -c cpuminer-conf.json
referencia: https://www.nicehash.com/help/cpu-mining
https://github.com/nicehash/xmr-stak/blob/master/doc/compile_Linux.md
https://github.com/fireice-uk/xmr-stak/issues/878