Would you like to learn how to do Litecoin GPU mining? In this tutorial, we are going to show you how to GPU mine Litecoin using the software CCMINER and a Nvidia GTX 1080 GPU on a computer running Ubuntu Linux.

Hardware List:

The following section presents the list of equipment used to create this Litecoin GPU Mining tutorial.

Every piece of hardware listed above can be found at Amazon website.

Litecoin Playlist:

On this page, we offer quick access to a list of videos related to Litecoin GPU mining.

Don't forget to subscribe to our youtube channel named VirtualCoin.

Litecoin Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Litecoin.

Tutorial - Litecoin GPU Mining GTX 1080

Create a new account on the Minergate website to become a member of the mining pool

On the Linux console, use the following command to update the package database.

# apt-get update

Download and install the Nvidia GTX 1080 GPU driver.

# mkdir /downloads/driver –p
# cd /downloads/driver
# wget https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda-repo-ubuntu1704-9-1-local_9.1.85-1_amd64
# dpkg -i cuda-repo-ubuntu1704-9-1-local_9.1.85-1_amd64
# apt-key add /var/cuda-repo-9-1-local/7fa2af80.pub

Download and install the most recent Nvidia GTX 1080 patch.

# cd /downloads/driver
# wget https://developer.nvidia.com/compute/cuda/9.1/Prod/patches/1/cuda-repo-ubuntu1704-9-1-local-cublas-performance-update-1_1.0-1_amd64
# dpkg -i cuda-repo-ubuntu1704-9-1-local-cublas-performance-update-1_1.0-1_amd64

Update the APT-GET database and install the CUDA package.

# apt-get update
# apt-get install cuda

Edit the .bashrc file from the root user and add the following lines at its end.

# vi /root/.bashrc

export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-9.1/bin:$PATH

Now, you need to reboot your computer.

# reboot

Install the required packages and configure the system to use an older version of GCC as default.

# apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential
# apt-get install gcc-5 g++-5
# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1

As our last step, download, compile and install the CCMINER software.

# cd /downloads
# git clone https://github.com/tpruvot/ccminer
# cd ccminer
# ./build.sh
# install -sv ccminer /usr/local/bin/

To start the Litecoin GPU mining use the following command, as an example:

# ccminer -a scrypt -o stratum+tcp://ltc.pool.minergate.com:3336 -u virtualcoin.videos@gmail.com -p x

As a requirement, you need to change the username virtualcoin.videos@gmail.com from the command above to your username.

Keep in mind that the username virtualcoin.videos@gmail.com was used only as an example.

The computer was able to obtain the following hashrate: 637.33 kH/s