Installing Cgminer On Ubuntu

本测试在Ubuntu 12.04.1 LTS系统上完成:

(1)下载AMD相关软件:
AMD-APP-SDK-v2.8-lnx32.tgz
(http://developer.amd.com/amd-license-agreement/?f=AMD-APP-SDK-v2.8-lnx32.tgz)
ADL_SDK_5.0.zip
(2)下载cgminer:
cgminer-3.1.0.tar.bz2
(3)
cd /opt
tar -zxvpf /root/AMD-APP-SDK-v2.8-lnx32.tgz
./Install-AMD-APP.sh
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libncurses5-dev
sudo apt-get install subversion git-core
sudo apt-get install lib32gcc1 libc6-i386 lib32gcc1 libc6-i386 dkms openssh-server screen
sudo apt-get install git autoconf libtool pkg-config yasm make
sudo apt-get install curl
sudo apt-get install fglrx fglrx-amdcccle fglrx-dev
sudo apt-get install libusb
sudo apt-get install libusb-dev
cd ADL_SDK
cp -R include/* /root/cgminer-3.1.0/ADL_SDK/
./configure –prefix=/usr/local/cgminer –enable-opencl –enable-maintainer-mode –enable-scrypt –enable-cpumining –enable-icarus –enable-modminer –enable-avalon
make
make install