Litecoins mining on Ubuntu with an Nvidia Card

Here is my quick step-by-step guide on how to setup litecoin mining on an Ubuntu computer with an Nvidia GPU using a miner that is still maintained.

  • Download latest release of https://github.com/tpruvot/ccminer/releases (Source code)
  • unpack files and cd into the root directory of the miner
  • run ./autogen.sh then ./configure
  • run sudo apt-get install nvidia-cuda-toolkit libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential
  • run sudo apt-get install gcc-5 g++-5
  • run sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
  • run ./build.sh

If the last step succeeds, you should be able to start mining litecoins using this command (replace your credentials) :

./ccminer --algo=scrypt -o stratum+tcp://us.litecoinpool.org:3333 -u wimantis.donations -p thanks