我尝试按照此链接上的说明在Ubuntu 14.04 上安装 CUDA,但是在这一步中我遇到了包依赖问题:
~/Downloads$ sudo apt-get install cudaReading 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.
Run Code Online (Sandbox Code Playgroud)
有人知道可能是什么问题吗?
A.B*_*.B. 27
选项 1:apt-get
安装未满足的依赖项
sudo apt-get install cuda-runtime-7-0
...
<more unmet dependencies>
....
sudo apt-get install cuda-7-0
Run Code Online (Sandbox Code Playgroud)安装主包
sudo apt-get install cuda
Run Code Online (Sandbox Code Playgroud)选项2:能力
安装能力
sudo apt-get install aptitude
Run Code Online (Sandbox Code Playgroud)安装主包
sudo aptitude install cuda
Run Code Online (Sandbox Code Playgroud) 归档时间: |
|
查看次数: |
63853 次 |
最近记录: |