Hacker News new | ask | show | jobs
by moyix 1976 days ago
I went with the NVIDIA Ubuntu repos:

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/i...

This is nice because staying updated can be done through the usual apt commands, and you can have multiple CUDA versions installed by installing cuda-11-0, cuda-11-1, etc. Switching between them seems to be as easy as just making sure the appropriate /usr/local/cuda-<version>/bin dir is first in your PATH.

In general the NVIDIA documentation is pretty good, and I try to follow their Ubuntu-specific instructions whenever possible.