I was following this guide. https://www.meebey.net/posts/ethereum_gpu_mining_on_linux_howto/

Basically its instructions are like this

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum ethminer
geth account new
# copy long character sequence within {}, that is your <YOUR_WALLET_ADDRESS>
# if you lose the passphrase, you lose your coins!
sudo apt-get install linux-headers-amd64 build-essential
chmod +x NVIDIA-Linux-x86_64-367.35.run
sudo NVIDIA-Linux-x86_64-367.35.run
ethminer -G -F http://yolo.ethclassic.faith:9999/0x<YOUR_WALLET_ADDRESS> --farm-recheck 200

On the command sudo apt-get install ethereum ethminer it fails with the error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ethminer

I did follow the instruction of adding the ethereum ppa so I am not sure why it will cannot find the ethminer package. Is the guide just out of date?


No wonder knowing that you can't install ethminer directly from apt install command, when I try to find ethminer package on Etherum's launchpad page, return with no avail. So basically the ethminer package doesn't belong to the ppa, it's unknown either the instruction article is outdated or other reason.

I suggest you to read this https://github.com/ethereum/go-ethereum/wiki/Mining#gpu-mining-with-ethminer, there are tutorials available on how to install ethminer from source depending on OS, though I haven't tested this method.


I got this to work in 17.04 by downloading the ethminer binary directly from https://github.com/ethereum-mining/ethminer/releases

I also had to install the nvidia cuda drivers with this command

sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit nvidia-nsight

I currently understand you should use the following:

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum-qt
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository ppa:ethereum/ethereum-dev
sudo apt-get update
sudo apt-get install ethereum
sudo apt-get install cpp-ethereum

But I don't think cpp-ethereum is supported for Zesty yet in the ppa's (see here) since cpp-ethereum fails to install. Instead download the project from here and follow instructions to build from source.

However, according to the build instructions,


This project is not suitable for Ethereum mining. The support for GPU mining has been dropped some time ago including the ethminer tool. Use the ethminer tool from https://github.com/ethereum-mining/ethminer.

So don't think you actually need cpp-ethereum. But I'm just learning this stuff so may update this later. I'm building cpp-ethereum on 17.04 as I type !


Ok, if I'm to follow my original tutorial and the comment about mining in the build instructions of cpp-ethereum then it seems what I actually have to do is build ethminer from here. On with that now. Will update again soon.


That worked.


Since it appears you're using nvidia:
Install nvidia driver and CUDA Toolkit.
Use the nvidia site for this NOT apt depo pkgs.
Grab newest on both. CUDA should be 9.1 at time of this writing.

Download the ethminer release for Linux and follow instructions :


Be wary of the release candidates (RC). At time of this writing 0.12.0 is stable.

The release binary works fine -> tested under 14.04, 16.04 17.04.

Not the answer you're looking for? Browse other questions tagged or ask your own question.