Compile SGminer on Ubuntu Linux

This is the guide I used to install SGminer on Ubuntu Linux. I am using the Kalroth fork of cgminer 3.7.2 as it usually provides more khs than the standard cgminer.

Open up a terminal session or SSH and type these commands:

Sudo apt-get update

Sudo apt-get upgrade

git clone
(Place the ADL SDK files in cgminer-3.7.2-kalroth/ADL_SDK folder. These files are: adl_structures.h, adl_sdk.h, and adl_defines.h)
cd ~/cgminer-3.7.2-kalroth
CFLAGS=”-O2 -Wall -march=native” ./ –enable-scrypt –enable-opencl –with-header-path=/opt/intel/opencl-1.2-
That is is. Now just change your script and start mining.

Leave a Reply

Your email address will not be published. Required fields are marked *