sudo add-apt-repository -y ppa:ethereum/ethereum
cd ~
wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1504-7-5-local_7.5-18_amd64.deb
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get install -y cuda
sudo apt-get install -y git cmake libcryptopp-dev libleveldb-dev libjsonrpccpp-dev libjsoncpp-dev libboost-all-dev ocl-icd-opencl-dev libcurl4-openssl-dev libmicrohttpd-dev
sudo nano /usr/local/cuda/include/host_config.h
[go to line 115, where it says #if __GNUC__4 > ....... and delete that line and the next four (five lines in total)]
git clone https://github.com/Genoil/cpp-ethereum
cd cpp-ethereum
mkdir build
cd build
cmake -DBUNDLE=cudaminer
make
cd ethminer
./ethminer -U -F http://eth-eu.dwarfpool.com/0X
To donate please use wallet 0xc6cf855a302412ebb91ee1e823284b928fb4286d