

To download CuDNN you need to register to become a member of the NVIDIA Developer Program which is free. $ sudo apt update $ sudo apt install cuda -y Install CuDNNĬuDNN doesn't come with Cuda. Next, install the CUDA GPG key as follows: $ sudo apt-key add /var/cuda-repo-ubuntu-local/7fa2af80.pubįinally, update the package lists and install CUDA using the APT package manager. sudo dpkg -i cuda-repo-ubuntu-local_11.4.2-470.57.02-1_b Download Now NVIDIA CUDA 410.130 DRIVER If sudo apt install nvidia-driver-410 & sudo reboot doesn't work, you can also download the nvidia 410.6 graphics driver from the official nvidia website and install it manually.

Once downloaded, use the dpkg utility to execute the file. Ensure you have a good internet connection and ample disk space. Be notified that the file is quite large - 2.3G to be precise at the time of writing this guide. Thereafter, download the CUDA Debian file. $ sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 Move CUDA pin to the /etc/preferences directory Next, move the pin to the /etc/preferences.d directory and rename it as cuda-repository-pin-600. So, if you are out to install the latest version, then follow the instructions outlined herein.įirst, download the CUDA repository pin: $ wget Check CUDA version Method 2: Install CUDA from CUDA repositoryĪs mentioned earlier, the CUDA repository provides the latest version of CUDA.
