HOWTO Install gominer on Ubuntu/Debian


  • Global Moderator

    Installation instructions for Ubuntu/Debian (pre 16.04)

    Note: As of 16.04, the fglrx drivers are no longer available

    Install git:
    sudo apt-get-install git

    Install Radeon drivers:
    sudo apt-get install fglrx

    Check for available devices:
    sudo aticonfig --list-devices

    If no devices are available, you may be using Nvidia GPUs which are not supported by gominer. Sorry!

    Install OpenCL headers if you are compiling from source:
    sudo apt-get install opencl-headers

    The OpenCL headers may not be correctly installed on 64 bit Linux. Perform the following step
    sudo ln -s /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so

    Install Go by following these instructions:
    https://www.digitalocean.com/community/tutorials/how-to-install-go-1-5-3-on-ubuntu-14-04

    (you're done at the "Testing Your Install" step)

    Make sure you go through all the instructions above so you understand how to point Go to your workspace. Then, point Go to the workspace you wish to use for gominer:

    export GOPATH=$HOME/gominer/

    Finally, install gominer with:
    go get github.com/robvanmieghem/gominer

    Move the executable to the path above:
    mv $GOPATH/bin/gominer $GOPATH

    Leave feedback and suggestions for improving this HOWTO below. Thanks!



  • Check for available devices:
    sudo aticonfig --list-devices >> adapters



  • HOWTO Install gominer on windows?



  • @coolrun
    I wish I knew. golang is greek to me unfortunately. maybe set up a bounty? IDK.



  • How Can I get the full log from gominer?
    Or where is it located?



  • On linux:

    You can write the GoMiner output to a file called log.txt by adding "2>&1 | tee log.txt" to the end of the GoMiner command you use to start it.

    example:

    ./gominer -H siamining.com:9980 2>&1 | tee log.txt

    --
    SiaMining.com -- Your PPS Sia Pool.
    I'm not affiliated or work on the Sia/Nebulous team.

    1


  • When I have installed and use the command gominer on ubuntu16.04, I get this error as follow:
    panic: cl: error -1001

    goroutine 1 [running]:
    log.Panic(0xc42004bde8, 0x1, 0x1)
    /usr/local/go/src/log/log.go:322 +0xc0
    main.main()
    /root/go/src/github.com/robvanmieghem/gominer/main.go:45 +0x2d7

    Who can help me ? thanks.


Log in to reply