If I type 'sudo apt-get install nvidia-cuda-toolkit' in the terminal in Ubuntu 16.04 LTS, which version of CUDA is installed? I need to know what's going to happen without actually running the command.


You can obtain this information using apt-cache policy

$ apt-cache policy nvidia-cuda-toolkit
  Installed: (none)
  Candidate: 7.5.18-0ubuntu1
  Version table:
     7.5.18-0ubuntu1 500
| improve this answer | |


You can check it using apt-cache showpkg [PACKAGE_NAME] or dpkg -l [PACKAGE_NAME].

| improve this answer | |

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.