How to Install Cuda 6.0 on Ubuntu 14.04

Update(22.08.2014)

CUDA 6.5 has been released by NVIDIA. It has native Ubuntu 14.04 support. You can download from here.

https://developer.nvidia.com/cuda-downloads

What do we need ?

  1. Latest GPU driver from NVIDIA for your GPU  and please install it. You can find many tutorial for this. Instead of using the restricted driver, I chose to use the new version from NVIDIA. In this guide I use NVIDIA 334.21 drivers for my GTX 750 Ti and GTX 650 Ti Boost.
  2. Latest CUDA installation file (.run file, not .deb). You can download from HERE .
  3. Required libraries: freeglut3-dev, libglu1-mesa-dev, libxmu-dev, libxi-dev, build-essential.
sudo apt-get install build-essential freeglut3-dev libglu1-mesa-dev libxmu-dev libxi-dev

CUDA 6.0 Installation Step

Extract installation file from CUDA .run file:

./cuda_6.0.37_linux_64.run -extract=/your_path

 

Now we have three file :

  • cuda-linux64-rel-6.0.37-18176142.run
  • cuda-samples-linux-6.0.37-18176142.run
  • NVIDIA-Linux-x86_64-331.62.run (Ignore it)

Now we can install cuda.

sudo ./cuda-linux64-rel-6.0.37-18176142.run

Then we can install cuda-samples:

sudo ./cuda-samples-linux-6.0.37-18176142.run

If you want you can compile the samples after installation. But this process may take some time.

cd /your/nvidia_sample_path
make

Congratulations 🙂

Some proof:

 

2 thoughts on “How to Install Cuda 6.0 on Ubuntu 14.04

  1. […] I want to install cuda-6.5 on my ubuntu server 14.04, but I can not find a step-by-step tutorial of how to install, is the process the same as cuda-6.0? Like I find a tutorial here : http://gunluk.muuzoo.gen.tr/2014/04/30/how-to-install-cuda-6-0-on-ubuntu-14-04/ […]

  2. […] A blog on how to install CUDA 6.0 manually on Ubuntu 14.04. I just install CUDA 5.5 following similar steps. […]

Bir Cevap Yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir