
Installing the graphics drivers is a bit tricky.
#INSTALL CUDA 9 ON UBUNTU 16.04 INSTALL#

Download the latest ones from Verify CUDA installation *: Don't install the display drivers with this script. You might also be interested in How can I install CuDNN on Ubuntu 16.04?. I strongly suggest not to use it, as it changes the paths and makes the installation of other tools more difficult. Notes: Yes, there is the possibility to install it via apt-get install cuda. See also: NVIDIA CUDA with Ubuntu 16.04 beta on a laptop (if you just cannot wait) Start lightdm again: sudo service lightdm start.Make sure that you say y for the symbolic link. Create a file at /etc/modprobe.d/nf with the following contents:.Stop lightdm: sudo service lightdm stop.Go to a terminal session ( ctrl+ alt+ F2) If you want to install the display drivers (*), logout from your GUI.

Remove any other installation ( sudo apt-get purge nvidia-cuda* - if you want to install the drivers too, then sudo apt-get purge nvidia-*.).

