hedes1992 / lab_server

实验室服务器说明
4 stars 5 forks source link

cuda9.0的安装和卸载 #4

Open yy198698 opened 5 years ago

yy198698 commented 5 years ago

DBE格式 安装 1、sudo dpkg -i cuda-repo-ubuntu1604-10-1-local-10.1.168-418.67_1.0-1_amd64.deb 2、sudo apt-key add /var/cuda-repo-<version>/7fa2af80.pub 3、sudo apt-get update 4、sudo apt-get install cuda

卸载 sudo apt-get remove --purge cuda

RUN格式 安装 Run sudo sh cuda_10.1.168_418.67_linux.run Follow the command-line prompts

1、installing the CUDA Driver 2、installing the CUDA Toolkit to a location the user does not have permission to write to 3、installing the CUDA Samples to a location the user does not have permission to write to 4、creating the /usr/local/cuda symbolic link

卸载 cd /usr/local/cuda-9.1/bin

进入 /usr/local/cuda-9.1/bin

./nvidia uninstall_cuba_9.1.pl cd /usr/local/ ls

查看 cuda-9.1 以及 cuda 文件夹均已消失。若存在则手动删除。

yy198698 commented 5 years ago

CUDA的版本不一定对,可以根据实际修改