标签:reboot epo dia rem lis repo code tor sudo
删除、卸载
sudo rm /etc/apt/sources.list.d/cuda*
sudo apt-get --purge remove "*cublas*" "cuda*" "nsight*"
sudo apt-get --purge remove "*nvidia*"
sudo apt-get autoremove
sudo apt-get autoclean
sudo rm -rf /usr/local/cuda*
添加nvidia显卡驱动库
add-apt-repository ppa:graphics-drivers
apt update
显示可安装的驱动
ubuntu-drivers devices
安装驱动
apt install nvidia-driver-450(查询得来的)
重启
reboot
验证
nvidia-smi
标签:reboot epo dia rem lis repo code tor sudo
原文地址:https://www.cnblogs.com/hui-code/p/14887749.html