CUDA 6.5 has been released by NVIDIA. It has native Ubuntu 14.04 support. You can download from here.
What do we need ?
- 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.
- Latest CUDA installation file (.run file, not .deb). You can download from HERE .
- 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:
Now we have three file :
- NVIDIA-Linux-x86_64-331.62.run (Ignore it)
Now we can install cuda.
Then we can install cuda-samples:
If you want you can compile the samples after installation. But this process may take some time.
cd /your/nvidia_sample_path make