Ubuntu – Error installing Cuda toolkit: Existing package manager installation of the driver found

cudagpu-drivers

I'm working with Ubuntu 16 and Cuda toolkit 10.2.

I'm using installer file: cuda_10.2.89_440.33.01_linux.run.

I understand I need to remove something I previously installed but don't know what exactly.

Any suggestions will be appreciated.

Best Answer

If you only want to install the cuda toolkit to /usr/local, please run:

sudo sh ./cuda_10.2.<spec>.run --toolkit --silent --override

If you need nvidia driver as well, you could try the answer provided by Albino Cordeiro

Running dpkg -l | grep Nvidia and then sudo apt purge ... did the trick.

Warning: above will uninstall your current nvidia driver.

Related Question