https://blog.csdn.net/m0_52583356/article/details/138150039
上面这篇文章是按照显卡驱动所支持的最高cuda版本来更新cuda Toolkit的,但是如果你想要更新显卡驱动最高支持的CUDA版本,就需要更新显卡驱动了。
更新显卡驱动需要先卸载原有显卡驱动:
sudo apt-get --purge remove nvidia*
sudo apt autoremove
ubuntu显卡驱动安装 可参考下面
https://www.php.cn/faq/470478.html