參考資料

生信小木屋

How to install CUDA toolkit from Ubuntu Repository

sudo apt update
sudo apt install nvidia-cuda-toolkit
nvcc --version

How to install CUDA toolkit from CUDA repository