This done on Alienware PC
- Install fresh 16.04TLS
- Download CUDA library (.run)
- Go to Terminal mode (Ctrl + Alt + F1)
- Stop lightdm (service lightdm stop)
- Chmod +x and run CUDA installer (sudo su ./cuda...run)
- It will fail due to Noveau thing so should restart and run step 5 again.
- Setup bash profile for PATH to include (/usr/local/cuda)
- Run nvcc -V to check that CUDA is fully installed.
Should step 6 failed, run:
sudo update-initramfs -u
It might be error booting up, just go to command mode (Ctrl + Alt + F1) and run step 6 again.