If use Cuda-10.1 do not need to install nvidia-cuda-devnvidia-cuda-toolkit, it will have error when you apt-get install any dependencies like this:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
nvidia-cuda-toolkit: Depends: nvidia-cuda-dev (= 7.5.18-0ubuntu1) but it is not going to be installed
E:Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
If you already meet this error, run this:
sudo apt-get purge nvidia-cuda-toolkit
If use Cuda-10.1 do not need to install
nvidia-cuda-dev
nvidia-cuda-toolkit
, it will have error when youapt-get install
any dependencies like this:If you already meet this error, run this:
sudo apt-get purge nvidia-cuda-toolkit