在 ubuntu 20.04 中安装 cuda 8.0

在 ubuntu 20.04 中安装 cuda 8.0

我一直在尝试在 ubuntu 20.04 中安装 cuda 8.0。我使用了以下提供的文档:https://developer.nvidia.com/cuda-80-ga2-download-archive 我尝试了 deb(local) 和 deb(network)。但是,使用 时sudo apt-get cuda,我收到以下错误:

The following packages have unmet dependencies:
cuda : Depends: cuda-11-0 (>= 11.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

从我了解到的其他几个问题来看,我可以使用sudo apt-get cuda-8-0。但是,这也显示了以下错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cuda-8-0 : Depends: cuda-runtime-8-0 (>= 8.0.61) but it is not going to be installed
            Depends: cuda-demo-suite-8-0 (>= 8.0.61) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

有人能帮我解决错误吗以及如何在 ubuntu 20.04 中安装 Cuda-8-0?

答案1

我设法使用运行文件和 gcc-5 在 Ubuntu 22 上安装了 CUDA 8.0,请参阅Ubuntu 22.04 上的 CUDA 8 和 GCC 5

它应该与 Ubuntu 20 大致相同。(可能内核补丁需要的更改较少)。

相关内容