Setup CUDA On Ubuntu Edit on GitHub

Install The NVIDIA CUDA Toolkit

Click here to download the NVIDIA CUDA Toolkit

When you select your target platform, choose the ‘deb (network)’ installer for either 14.04 or 16.04. Please note that other versions of Ubuntu are not supported at this time.

Select Target Platform

Click the Download button and open the downloaded .deb file with Ubuntu Software Center:

Download with

Click the Install button in the Ubuntu Software Center to install cuda-repo-ubuntu1604:

Click Install

Then open a terminal and run these commands:

sudo apt update
sudo apt upgrade
sudo apt install cuda

Now reboot your system so that the new NVIDIA driver takes effect.