Coming from
How do I install NVIDIA and CUDA drivers into Ubuntu?
I'm trying the CUDA 9.2 and drivers 396 configuration but the drivers that sudo apt install cuda-9-2
installs are the 410. How can avoid that?
bashcudadriversgpunvidia
Coming from
How do I install NVIDIA and CUDA drivers into Ubuntu?
I'm trying the CUDA 9.2 and drivers 396 configuration but the drivers that sudo apt install cuda-9-2
installs are the 410. How can avoid that?
Best Answer
Unfortunately with the NVIDIA repo, it installs the newest driver that is in that repo. At the time I wrote the answer that was the newest one there, then they recently changed it. So, to do the older driver you will have to download and install the CUDA 9.2 manually.
This site has a pretty good layout of the installation of CUDA 9.2: https://www.pugetsystems.com/labs/hpc/How-to-install-CUDA-9-2-on-Ubuntu-18-04-1184/
You do have to follow those instructions very closely.
First thing, I recommend that you remove the NVIDIA repository first:
Then update again
Make sure the graphics-driver ppa is setup
Then install the 396 driver
Download the CUDA run file for the install from https://developer.nvidia.com/cuda-92-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1710&target_type=runfilelocal
Then run the CUDA installer:
Step through the installation follow carefully so you don't install the wrong driver:
Then add the following to the bottom of your
~/.profile
file:Reboot your system.