I want to install CUDA on Ubuntu 18.04 having nvidia-340 driver (Geforce 820 graphics card). I tried following but didn't have any success.
- I tried to install CUDA 6.5 which is supported by the nvidia-340 driver but it is not compatible with Ubuntu 18.04
- I tried to install CUDA 9 which is supported on Ubuntu 18.04 but not compatible with the nvidia-340 driver
Difficult to solve the inter dependency.