Cuda 10在CentOS 7.8安裝新版本

1. 有老版本的Cuda,需要卸載老版本Cuda和driver,

參考: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#removing-cuda-tk-and-driver

如Cuda 10:

cd /usr/local/cuda/bin

./cuda-uninstaller

選擇要卸載的模塊,一般都選,就卸載了

卸載cuda driver:

sh  NVIDIA-Linux-x86_64-430.50.run --uninstall

 

2. 安裝新的Cuda和新driver:

下載新driver:

https://www.nvidia.com/download/index.aspx?lang=en-us

sh  NVIDIA-Linux-x86_64-XXX.XX.run

 

下載新Cuda toolkit

https://developer.nvidia.com/cuda-toolkit-archive 

選擇需要安裝的版本,如10.2:

https://developer.nvidia.com/cuda-10.2-download-archive

下載到CentOS上,執行:

chmod +x cuda_10.2.89_440.33.01_linux.run

./cuda_10.2.89_440.33.01_linux.run

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章