Installing CUDA 8.0 in Ubuntu 18.04 and latest driver
This is a rough guide on how to install the latest driver in Ubuntu 18.04 and Cuda 8.0. This is separated in two distinct steps: installing the driver and then the CUDA toolkit and samples.
Driver
This is taken from here. Using the drivers from the ubuntu website is at the time of this writing not recommended.
Toolkit and Samples
Download *.run files
Install toolkit and samples only.
In case there is an error:
Can’t locate InstallUtils.pm in @INC (you may need to install the InstallUtils module)
then: