Cpuminer installation commands on Linux Ubuntu 18.04

(Last Updated On: 05/01/2023)

This blog contains all the commands to set up your cpuminer for cryptocurrency and does the mining. This blog is part of the course on how to create your own cryptocurrency.

Commands to setup Cpuminer for Cryptocurrency

sudo apt install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
git clone https://github.com/pooler/cpuminer.git
sudo chmod -R 777 cpuminer
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make