如何在Debian 8上安装Cuda Toolkit 7.0或8?
我知道,Debian的8自带的选项,下载并安装CUDA工具包6.0使用apt-get install nvidia-cuda-toolkit
,但你如何为CUDA工具包7.0版或8做到这一点?
我尝试使用Ubuntu安装程序进行安装,如下所述:
sudo wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_7.0-28_amd64.deb
dpkg -i cuda-repo-ubuntu1404_7.0-28_amd64.deb
sudo apt-get update
sudo apt-get install -y cuda
但是,它不起作用,并返回了以下消息:
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 : Depends: cuda-7-0 (= 7.0-28) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.