Skip to content

Instantly share code, notes, and snippets.

@Viswanathantv
Created January 5, 2014 10:39
Show Gist options
  • Save Viswanathantv/8266662 to your computer and use it in GitHub Desktop.
Save Viswanathantv/8266662 to your computer and use it in GitHub Desktop.
cgminer
sudo apt-get install libcurl4-openssl-dev pkg-config libtool libncurses5-dev libudev-dev screen xterm
sudo apt-get install git-core
sudo apt-get install openssh-server byobu
sudo apt-get install autoconf
sudo apt-get install automake
wget "https://www.dropbox.com/s/eur5g46om5x7mx6/cgminer-3.7.0.tar.bz2"
https://www.dropbox.com/s/ye8ey32wg9phudv/ADL_SDK_6.0.zip
https://www.dropbox.com/s/iwf97gofte4bp27/AMD-APP-SDK-v2.9-lnx32.tgz
cd /opt
sudo tar xvzf /home/username/AMD-APP-SDK-v2.9-lnx32.tgz
cd /
sudo tar xvzf /opt/icd-registration.tgz
cd /opt
sudo tar xvzf AMD-APP-SDK-v2.9-lnx32.tgz
sudo ln -s /opt/AMD-APP-SDK-v2.9-lnx32/include/CL /usr/include
sudo ln -s /opt/AMD-APP-SDK-v2.9-lnx32/lib/x86/* /usr/lib
mkdir ADL
mv ADL_SDK_6.0.zip ADL
cd ADL
unzip ADL_SDK_6.0.zip
sudo cp include/*.h /home/username/cgminer/ADL_SDK
sudo su
apt-get install libudev1
cd /lib/i386-linux-gnu/
ln -s libudev.so.1 libudev.so.0
sudo apt-get install ocl-icd-opencl-dev
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
@netfinds4u
Copy link

netfinds4u commented May 15, 2018

I got tons of errors. Not sure whats going on since I am a complete noob at this. Placed the output below.

#:/$ sudo git clone https://github.com/ckolivas/cgminer/tree/3.7
Cloning into '3.7'...
remote: Not Found
fatal: repository 'https://github.com/ckolivas/cgminer/tree/3.7/' not found
#:/$ sudo wget "https://www.dropbox.com/s/eur5g46om5x7mx6/cgminer-3.7.0.tar.bz2"
--2018-05-15 17:43:50-- https://www.dropbox.com/s/eur5g46om5x7mx6/cgminer-3.7.0.tar.bz2
Resolving www.dropbox.com (www.dropbox.com)... 162.125.9.1, 2620:100:601f:1::a27d:901
Connecting to www.dropbox.com (www.dropbox.com)|162.125.9.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘cgminer-3.7.0.tar.bz2’

cgminer-3.7.0.tar.b [ <=> ] 187.77K 410KB/s in 0.5s

2018-05-15 17:43:51 (410 KB/s) - ‘cgminer-3.7.0.tar.bz2’ saved [192281]

#:/$ sudo https://www.dropbox.com/s/ye8ey32wg9phudv/ADL_SDK_6.0.zip
sudo: https://www.dropbox.com/s/ye8ey32wg9phudv/ADL_SDK_6.0.zip: command not found
#:/$ sudo https://www.dropbox.com/s/iwf97gofte4bp27/AMD-APP-SDK-v2.9-lnx32.tgz
sudo: https://www.dropbox.com/s/iwf97gofte4bp27/AMD-APP-SDK-v2.9-lnx32.tgz: command not found
#:/$ cd /opt
#:/opt$ ls
#:/opt$ sudo tar xvzf /home/tonyf/AMD-APP-SDK-v2.9-lnx32.tgz
tar (child): /home/tonyf/AMD-APP-SDK-v2.9-lnx32.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
#:/opt$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment