Today, I am going to discuss about the installation of CUDA 6.5 Toolkit & Drivers on Ubuntu 14.04 (Trusty Tahr). From last few days a number of query regarding this problems are being asked. And Yes, Installation of CUDA Toolkit on Ubuntu 14.04 (Trusty Tahr) release is really a tough and challenging task. There are number of problems encountered during the installation of CUDA Toolkit. The installation on Ubuntu & Fedora systems have a lot of similarities. As both operating systems are based on different packages, so one need to understand the structuring & requirements of those packages to get task successfully done. I have already shared one post regarding installation of CUDA on Ubuntu 14.04 (Trusty Tahr). So lets check the Ubuntu installation process today.
Following are the basic components necessary to install CUDA SDK on Ubuntu 14.04 (Trusty Tahr).
Check First Link to make sure that you have a CUDA enabled NVIDIA GPU Card already installed in your machine.
Check Second link to get to know about the drivers required for your GPU Card. Check Third link to get information about the latest CUDA Toolkit available in the market.Last not the least check Fourth link which guides you with some code samples in different application areas.
Follow these steps to get rid of all problems and ease the installation experience.
1) First Update Ubuntu 14.04 (Trusty Tahr) by using following command $ sudo apt-get update
$ sudo apt-get upgrade
2) Verify the system has a CUDA-capable GPU.
3) Verify the system is running a supported version of Linux.
4) Verify the system has gcc installed.
5) Now Install the Repository Meta-Data by following command
$ lspci | grep -i nvidia
3) Verify the system is running a supported version of Linux.
$ uname -m && cat /etc/*release
4) Verify the system has gcc installed.
$ gcc --version
5) Now Install the Repository Meta-Data by following command
$ sudo apt-get install build-essential
$ sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb
$ sudo apt-get update
$ sudo apt-get install cuda
The setup is about 1GB and will ask for confirmation several times. Press 'y' when asked for confirmation. (Actual CUDA installation of libraries, runtime packages & Nsight eclipse edition)
7) Reboot system and you can start coding from Nsight eclipse edition.
I hope after following these steps you will be able to complete installation of CUDA 6.5 on Ubuntu 14.04 (Trusty Tahr) without any errors. Please do comment in the comment box below if you face any problems. I will be glad to help you.
==>Posted By Yogesh B. Desai
Previous Post: How To install CUDA on Fedora 20
Next Post: Git Basics and Commands
how to install cuda on ubuntu 10.04
ReplyDeletePlease try above mentioned steps and in case of any difficulty, comment it here.
ReplyDeleteAfter following all the above mentioned steps and rebooting the system enters in login loop. So what should we do?
ReplyDeleteHi. It's hard to explain from your description of the error. Please mention the exact error you have faced in comment box here.
ReplyDeleteYou could contact me in case you have snapshot of your error; which may be helpful to advise you, to sort out the issue.
after following above steps i still cannot get the IDE when I search
ReplyDeleteCould you explain the issue in depth?
Delete