Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How to remove cuda 9.0 and install cuda 8.0?


Asked by Iliana Herman on Dec 01, 2021 FAQ



What worked was to purge the 'dpkg' install (/var/cuda*) manually and doing the 'dpkg --install' again. I had to first do, sudo apt-get --purge remove cuda and sudo apt autoremove, so as to remove Cuda 9.
Subsequently,
If you installed higher version of Cuda, just run the lower version Cuda installer, it will automatically delete the installed version if its not the same version. In my case on Windows 10, Cuda9.2 was deleted by the Cuda9.0 installer. Thanks!
Also Know, The following steps are pretty much the same as the installation guide using .deb files (strange that the cuDNN guide is better than the CUDA one). Go to the cuDNN download page (need registration) and select the latest cuDNN 7.0.* version made for CUDA 9.0.
One may also ask,
In 11.2 there also seems to be no "cuda-uninstaller" in "bin". Make sure the method you use to install cuda toolkit. This answer is for whom use deb files to install cuda. I have no idea if this works for .run files. This can clear the cuda toolkit clearly.
Also,
Nvidia has prepared a file for removing cuda (I guess this method is standard one).First of all change directory to cuda path,which in default ,it is /usr/local/cuda-x.y/bin which x.y is your cuda version, you can change the directory with using the below command: (I have cuda 9.0= x.y)