ubuntu18.04安装cuda

ubuntu18.04只能安装10.0及以上的CUDA。
这里有CUDA版本和显卡驱动版本之间的关系https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html
这里介绍了怎么更新显卡驱动版本https://blog.csdn.net/hgtjcxy/article/details/89926991
如果不小心安装了错误版本的CUDA(与显卡版本不匹配),可以更新显卡驱动,如果显卡驱动无法更新,可以卸载现在的CUDA,安装合适的CUDA。
卸载CUDA的步骤参照https://blog.csdn.net/qq_33200967/article/details/80689543#CUDA_71
安装CUDA的步骤参照https://www.cnblogs.com/zmbreathing/p/CUDA.html
或者https://blog.csdn.net/qq_34067821/article/details/90710192
各版本CUDA资源库https://developer.nvidia.com/cuda-toolkit-archive

你可能感兴趣的:(ubuntu18.04安装cuda)