Changes

Jump to navigation Jump to search
m
no edit summary
== Overview ==
This tutorial will walk you through the necessary steps to set up nVidia CUDA and the correct corresponding version of GPU drivers, as well as a bunch of libraries needed for development.Note, before you do anything else, you should first update your system packages to the latest versions, <syntaxhighlight lang="bash">#!/bin/bashsudo apt-get updatesudo apt-get upgrade</syntaxhighlight> 
In case you had the driver or an earlier release of CUDA already installed, my recommendation is to first uninstall them.
If you cannot get the script to run or have a different linux version, head over to [https://developer.nvidia.com/cuda-downloads|the nVidia CUDA download page] and install CUDA 10.1 by following their instructions. I strongy recommend the networked ".deb" package installation. Make sure to explain any problems you encounter on the discussion page so that we can troubleshoot this guide.
Post installation, you should reboot your system to make sure it still works. Run the following commands in a shell to test installation, which should produce a similar output than what is shown:
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
</syntaxhighlight>
 
 
[[Category:Tutorials]]

Navigation menu