Installing CUDA Toolkit 7.5 on Ubuntu 14.04 Linux

http://www.r-tutor.com/gpu-computing/cuda-installation/cuda7.5-ubuntu

The following explains how to install CUDA Toolkit 7.5 on 64-bit Ubuntu 14.04 Linux. I have tested it on a self-assembled desktop with NVIDIA GeForce GTX 550 Ti graphics card. The instruction assumes you have the necessary CUDA compatible hardware support. Depending on your system configuration, your mileage may vary.

CUDA Repository

Retrieve the CUDA repository package for Ubuntu 14.04 from the CUDA download site and install it in a terminal.

$ sudo dpkg  -i cuda -repo -ubuntu1404_7.5 -18_amd64.deb 
$ sudo apt -get update

CUDA Toolkit

Then you can install the CUDA Toolkit using apt-get.

$ sudo apt -get install cuda

You should reboot the system afterwards and verify the driver installation with the nvidia-settings utility.

Environment Variables

As part of the CUDA environment, you should add the following in the .bashrc file of your home folder.

export CUDA_HOME=/usr/local/cuda -7.5 
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 
 
PATH=${CUDA_HOME}/bin:${PATH} 
export PATH

CUDA SDK Samples

Now you can copy the SDK samples into your home directory, and build a test sample.

$ cuda -install -samples -7.5.sh  ~ 
$ cd ~/NVIDIA_CUDA -7.5_Samples 
$ cd 1_Utilities/deviceQuery 
$ make

If everything goes well, you should be able to verify your CUDA installation by running thedeviceQuery sample.



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值