sgminer on ubuntu in 2 minutes

Had to poke around a bit to get the necessary instructions in order to get sgminer going on my Ubuntu installation. Found what I needed on a couple of different sites.

Thank you to veox for forking cgminer into sgminer and maintaining this version. I’m sure I’m not the only one who is greatful for your efforts.

I’m not sure what video card you are using but make sure you have the proper drivers installed. Also, I happen to be using so change the paramaters below to use your mining pool.

Download AMD-APP-SDK


Download ADL_SDK


Download AMD Linux Driver (Beta)


Install a bunch of pre-reqs
apt-get install tar libtool automake libncurses5-dev libcurl4-gnutls-dev xorg-dev g++ git tar unzip


Layout your directory strucuture
mkdir development
mkdir development/ADL_SDK
mkdir development/AMD-APP-SDK
mv ADL_SDK*.zip development/ADL_SDK
mv AMD-APP-SDK*.tgz development/AMD-APP-SDK
tar zxvf AMD-APP-SDK*.tgz
sudo -s ./
cd ../ADL_SDK
unzip ADL_SDK*.zip
cd ..


Get the source code from veox
git clone
cd sgminer/ADL_SDK
cp -vr ../../ADL_SDK/include/*.h .
cd ..
autoreconf -i
CFLAGS="-O2 -Wall -march=native" ./configure <options if you want>
make install


Set some environment variables and run
sgminer -o stratum+tcp:// -u gesker.9999 -p x -I 13

2 thoughts on “sgminer on ubuntu in 2 minutes

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s