The following steps describe how to install Cuda Toolkit 6.5 on a 64-bit Ubuntu 12.04 Linux machine that has been validated on a machine that has its own Nvidia GeForce GTX 550Ti graphics card, and the instructions below assume you have CUDA-compatible hardware support . The following steps are likely to vary depending on your system configuration.
CUDA Source
Open a terminal, search for cuda source in Ubuntu 14.04 (from Cuda downloadsite) and install. $ sudo dpkg-i cuda-repo-ubuntu1404_6.5-14_amd64.deb
$ sudo apt-get update
CUDA Toolkit
Use the command apt-get to install CUDA Toolkit. $ sudo apt-get install Cuda
After installation, the inflatable system. Use the Nvidia-settings (Terminal command) tool to check if the driver installation was successful.
Environment variables
In your HOME directory, in the file. bashrc file, add the following line. Export cuda_home=/usr/local/cuda-6.5
Export ld_library_path=${cuda_home}/lib64
Path=${cuda_home}/bin:${path}
Export PATH
CUDA SDK Samples
Copy the SDK samples to your home directory and compile it as follows. $ cuda-install-samples-6.5.sh ~
$ CD ~/nvidia_cuda-6.5_samples
$ make
How everything works, you can verify the Cuda installation by running the devicequery example in Bin/x86_64/linux/release.