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 mine-litecoin.org so change the paramaters below to use your mining pool.
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
mv ADL_SDK*.zip development/ADL_SDK
mv AMD-APP-SDK*.tgz development/AMD-APP-SDK
tar zxvf AMD-APP-SDK*.tgz
sudo -s ./Install-AMD-APP.sh
Get the source code from veox
git clone https://github.com/veox/sgminer.git
cp -vr ../../ADL_SDK/include/*.h .
CFLAGS="-O2 -Wall -march=native" ./configure <options if you want>
Set some environment variables and run
sgminer -o stratum+tcp://stratum.mine-litecoin.com -u gesker.9999 -p x -I 13