Suppose we have already installed Nvidia GPU driver which should be equal to or newer than the required.
- Download cuda runfile (installer type: runfile (local)) from https://developer.nvidia.com/cuda-downloads
- For example: https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.105_**418.39**_linux.run
- Make sure the GPU driver is equal to or newer than 418.39
- Extract what we want:
toolkit
following the interactive prompt orsudo sh cuda-10.1.run --silent --toolkit --toolkitpath=/usr/local/cuda-10.1
- To maintain a cudatoolkit with different versions of cudnn, we can name the dicrectory
cuda-10.1_cudnn-v7.5
- To maintain a cudatoolkit with different versions of cudnn, we can name the dicrectory
- Check the installation status