1

In Link when it is talking about "Handle Conflicting Installation Methods" how I can know what X.Y would be? I am using ubuntu 16.04

3
  • 2
    "Before installing CUDA, any previously installations that could conflict should be uninstalled. " Followed by detailed instructions . If you installed a previous nvidia driver, remove it, end of story.
    – Panther
    Aug 28, 2017 at 18:52
  • So how I can know the version (X.Y) that I have installed
    – Alex
    Aug 28, 2017 at 22:59
  • 1
    You run nvcc --version or you look at the version on the .run file or whatever you used to install. Regardless, you need to remove it before you update. Or you can read the page "/usr/local/cuda-X.Y/bin/uninstall_cuda_X.Y.pl" so the version is listed in the directory name and in the uninstall .pl . ls /usr/local/cuda*
    – Panther
    Aug 29, 2017 at 16:07

1 Answer 1

0

If you have cuda installed you can get the version from the directory name or from the name on the uninstall.pl

ls /usr/local/cuda*

ls /usr/local/cuda*/bin/uninstall*

Will yield "/usr/local/cuda-X.Y/bin/uninstall_cuda_X.Y.pl" where the X.Y you are asking about is in the cuda directory and on the uninstall script (uninstall_cuda.X.Y.pl).

Or you can also

nvcc --version

Regardless of the version , you need to first uninstall it as directed before you install a new version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.