Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
@dandawson87

This comment has been minimized.

Copy link

dandawson87 commented Jan 20, 2014

sudo apt-get install make #necessary for some ubuntu builds

@emtiu

This comment has been minimized.

Copy link

emtiu commented Feb 11, 2014

you kinda also need git ;) might as well put it in the install line

@danielcosta

This comment has been minimized.

Copy link

danielcosta commented Mar 27, 2014

You can avoid installing git by downloading the .tar.gz version with wget and running tar xzvf on it.

@edpichler

This comment has been minimized.

Copy link

edpichler commented Apr 30, 2014

Stuck on the make command.
no targets specified.

@ciindyprem

This comment has been minimized.

Copy link

ciindyprem commented Jun 14, 2016

its all clear now..........start over

@peterhokage

This comment has been minimized.

Copy link

peterhokage commented Jun 23, 2017

please help i need it on kali linux 2017

@xxxxxaaaaaaaannnn

This comment has been minimized.

Copy link

xxxxxaaaaaaaannnn commented Dec 7, 2017

To be complete :
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm make git gcc

But that's kinda the basics :p

@SubMGRru

This comment has been minimized.

Copy link

SubMGRru commented Dec 20, 2017

"code": -32601,
"message": "Procedure not found."

Help!!

@floke99

This comment has been minimized.

Copy link

floke99 commented Dec 28, 2017

how can I stop mining ?

@Zwirzu

This comment has been minimized.

Copy link

Zwirzu commented Jan 1, 2018

ctr+c

@henri2000

This comment has been minimized.

Copy link

henri2000 commented Mar 3, 2018

Username for 'https://github.com': o meu da isso e pede senha??

@ioricloud

This comment has been minimized.

Copy link

ioricloud commented Jul 12, 2018

wow,

thanks man. running correct here.

@SoroushKashipazha

This comment has been minimized.

Copy link

SoroushKashipazha commented Mar 29, 2019

for debian installation
check out here
there are some perl config for ./autogen.sh

@asif2508

This comment has been minimized.

Copy link

asif2508 commented Feb 27, 2020

in which website i have to open account?

@caesar5454

This comment has been minimized.

Copy link

caesar5454 commented Mar 10, 2020

When starting the miner, if I don't specify the user and password and just set the url , it keeps working!
What will happen if I run the miner without specifying the user and password?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.