Install CUDA 6.5 on Ubuntu 14.04 LTS

本文档详细记录了在Ubuntu 14.04 LTS上安装CUDA 6.5的过程,包括升级系统、遇到的依赖问题及解决方法,以及安装过程中涉及的软件包升级。安装过程中,系统自动移除了旧版的CUDA及相关驱动,并安装了新的CUDA 6.5、驱动和相关组件。安装完成后,需重启电脑以加载NVIDIA图形驱动。
摘要由CSDN通过智能技术生成

1. 从 Ubuntu 12.04 到 LTS 14.04 LTS

首先从这次升级开始。因为都是LTS,按理应该很简单。在12.04到系统里也确实不停提示可以一键升级到14.04。

问题在apt-get怎么也过不去。。。

后来发现是因为CUDA。。。。


中间因为怀疑PPA问题,全部diable掉了,包括

deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64 /



$ sudo apt-get install cuda
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  cuda-6-5 cuda-drivers cuda-runtime-6-5 libcuda1-340 nvidia-340
  nvidia-340-dev nvidia-340-uvm nvidia-libopencl1-340 nvidia-modprobe
  nvidia-opencl-icd-340 nvidia-settings
The following packages will be REMOVED
  libcuda1-331-updates nvidia-331-updates nvidia-libopencl1-331-updates
  nvidia-opencl-icd-331-updates
The following NEW packages will be installed
  cuda cuda-6-5 cuda-drivers cuda-runtime-6-5 libcuda1-340 nvidia-340
  nvidia-340-dev nvidia-340-uvm nvidia-libopencl1-340 nvidia-modprobe
  nvidia-opencl-icd-340
The following packages will be upgraded:
  nvidia-settings
1 to upgrade, 11 to newly install, 4 to remove and 0 not to upgrade.
Need to get 90.4 MB of archives.
After this operation, 51.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-libopencl1-340 340.29-0ubuntu1 [23.9 kB]
Get:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-340 340.29-0ubuntu1 [66.6 MB]
Get:3 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-340-uvm 340.29-0ubuntu1 [83.7 kB]
Get:4 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-340-dev 340.29-0ubuntu1 [9,840 B]
Get:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-modprobe 340.29-0ubuntu1 [16.9 kB]
Get:6 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-settings 340.29-0ubuntu1 [986 kB]
Get:7 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  libcuda1-340 340.29-0ubuntu1 [11.3 MB]
Get:8 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  nvidia-opencl-icd-340 340.29-0ubuntu1 [11.4 MB]
Get:9 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/  cuda-dri

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值