cgminer
Cgminer is a cross-platform program for mining crypto-currency with support for SHA-256 andscrypt algorithms, as well as drivers for a broad range of mining hardware.
To install cgminer on the Pi, we'll first need to connect to the Pi via ssh or console cable.
To install cgminer on the Pi, we'll first need to connect to the Pi via ssh or console cable.
Once you're logged in, ensure all preexisting software is up to date by entering the following:
- sudo apt-get update
After the update has completed, Install the all of cgminer's software dependencies by entering:
- sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev
Once dependencies are installed, download the cgminer software using:
- cd
- wget http://ck.kolivas.org/apps/cgminer/3.1/cgminer-3.1.1.tar.bz2
Note: this is not the latest version of cgminer, at the time of this writing, the current version (3.3.1) has issues communicating with Block Erupter USB on Raspbian
After the download is complete, decompress it by entering the following:
- tar xvf cgminer-3.1.1.tar.bz2
Move to the decompressed cgminer directory:
- cd cgminer-3.1.1
Configure the software for use with Block Erupter USB devices:
- ./configure --enable-icarus
Note: Other device types will require specific "--enable" parameters, see cgminer's README files for more info
Finally, make the program:
- make
… and that's all for the cgminer install. Return to the home directory by entering:
- cd
The PiMiner software continuously gathers info from cgminer, formats it for display, and responds to button presses on the 16x2 Character LCD Plate.
To install it, enter the following commands:
To install it, enter the following commands:
- git clone https://github.com/adafruit/PiMiner.git
Once the download is complete, we're ready to configure settings for our miner.