To stop the currently running nvidia driver:
sudo systemctl isolate multi-user.target
sudo modprobe -r nvidia-drm
CUDA 10.0
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#runfile
Choose the runfile version
Download the corresponding version of CUDNN, unzip it, and:
cd cuda/include
sudo cp -av * /usr/local/cuda/include/
cd ../lib64
sudo cp -av * /usr/local/cuda/lib64/
Possible chown actions