How to mine Ether on GNU + Linux?

  • How do we start mining Ether on a Debian / Ubuntu / GNU+Linux based computer?

    Are there PPAs or special repositories?

    As a practical matter, some of the details depend on whether you want to run radeon or nvidia GPUs. Could you pick one and edit the question to clarify this?

    Do you want direct mining or via a pool? Pools are good to begin, because pools provide a great deal of feedback, and fractional rewards if your GPU is on the low end. Otherwise, you need patience and lots of "on" time as it takes days to mine a full block with a single GPU.

    People, this is actually a good question. Please upvote it!

    @Paul - this would be an nvidia system

    mining on 16.04 but its slows down my computer

  • meebey

    meebey Correct answer

    5 years ago

    I wrote how to do GPU mining for Ethereum with Debian/Ubuntu here:


    Install/use Debian 8 or Ubuntu 16.0.4 then execute:

    sudo apt-get install software-properties-common
    sudo add-apt-repository ppa:ethereum/ethereum
    sudo sed 's/jessie/vivid/' -i /etc/apt/sources.list.d/ethereum-ethereum-*.list
    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
    ethminer -G -F<YOUR_WALLET_ADDRESS> --farm-recheck 200
    echo done

    Link only answers are not encouraged and will get deleted eventually.

    To be more specific, this answer will be fine if you post your main points here a well. The answer should make sense and be useful even if the link goes dead

    Package linux-headers-amd64 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

    This line `sudo sed 's/jessie/vivid/' -i /etc/apt/sources.list.d/ethereum-ethereum-*.list` doesn't work. Produces: `sed: -e expression #1, char 14 unterminated "s" command`. Fails with `/s/...` also.

License under CC-BY-SA with attribution

Content dated before 7/24/2021 11:53 AM