Skip to content

Instantly share code, notes, and snippets.

@return1
Last active July 8, 2024 19:21
Show Gist options
  • Save return1/5309843 to your computer and use it in GitHub Desktop.
Save return1/5309843 to your computer and use it in GitHub Desktop.
install a bitcoin cpuminer on ubuntu/debian
# install dependencies
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
# clone cpuminer
git clone https://github.com/pooler/cpuminer.git
# compile
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
# choose a miner pool and register there
# start the miner
./minerd --url=your.minerpool.org --user=username --pass=password
@nuclear-bean
Copy link

thanks for the gist

@iwat43013
Copy link

thank

@panuganties
Copy link

if any one stuck on make..

just copy 8 to 11 and execute all commands at same time.

cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment