As a rule of Linux installation, you can't always follow the instruction as if it is casted in stone. So what I did differently? So I did:
sudo apt-get update
sudo apt-get --assume-yes install tmux build-essential gcc g++ make binutils sudo apt-get --assume-yes install software-properties-common sudo apt-get --assume-yes install git
(Notice unlike Slavv, I didn't do an upgrade because upgrade seems to easily screw up CUDA 8.0 installation later on.)
- So this is a major difference, Slavv suggested to install CUDA directly. No, no, no. What you should do is to make sure driver of your graphic card is installed first. And Ubuntu/Nvidia has good support on it. Following this thread, I found that installing Titan require updating driving to
nvidia-367. So I just did an
apt-get install nvidia-367.
- At this point if you reboot, you will notice that 14.04 recognize the display card. Usually what it means is the display is in the right resolution. (If the driver is not installed properly, then you will find a display with overlarged icons, etc.)
- So now, you can test your setting, by typing nvidia-smi. Normally a screen would look like this one. If you are running within a GUI, there should be at least one process running on the GPU.
- Now all good, you now have the driver of the display card, now you can really follow Slavv's procedure :
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_8.0.61-1_amd64.deb sudo dpkg -i cuda-repo-ubuntu1404_8.0.61-1_amd64.deb sudo apt-get update sudo apt-get install cuda-toolkit-8.0
- This is the point when I stopped. And I left it to my friend to install more software. Usually, installing display card driver and CUDA are the toughest steps in a Linux software build. So the rest should be quite smooth.
Acknowledgement: Thanks for the great post by Slav Ivanov!