Open the terminal and type:
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-cublas-performance-update_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda
Update the PATH variable to include the CUDA binaries folder. To update it, edit the
sudo nano /etc/environment
After editing the
/etc/environment file will look like this.
If there are other locations in your PATH don't remove them, leave them in the PATH too.
The instructions for using nano editor are always found at the bottom of every page. The only two nano keyboard shortcuts that you need to know are for WriteOut and Exit. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.
Validate the CUDA installation.
The results of
nvcc --version should show that NVIDIA Cuda is installed.