This tutorial does the least amount of compiling using as much as possible from the Ubuntu 14.04 repositories.
Enable the NVIDIA binary drivers from Ubuntu repository (https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia)
~# lspci -vvnn | grep NVIDIA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK106 [GeForce GTX 650 Ti] [10de:11c6] (rev a1) (prog-if 00 [VGA controller])
~# apt-get install libcuda1-331 nvidia-cuda-dev nvidia-cuda-toolkit
~# nvopencc -v
NVIDIA (R) CUDA Open64 Compiler
Cuda compilation tools, release 5.5, V5.5.0
Built on 2013-07-17
Open64 Compiler Suite: Version 4.1
Built on: 2013-07-17
Thread model: posix
GNU gcc version 3.4.5 (Open64 4.2 driver)
Install John the Ripper 1.7.9 Jumbo 7 with Nvidia CUDA support.
~$ mkdir ~/tools
~$ cd ~/tools
~/tools$ wget http://openwall.com/john/g/john-1.7.9-jumbo-7.tar.gz
~/tools$ tar zxvf john-1.7.9-jumbo-7.tar.gz
~/tools$ cd john-1.7.9-jumbo-7/src
~/tools/john-1.7.9-jumbo-7/src$ make linux-x86-64-cuda
DONE…no issues as seen from the previous tutorialΒ on Ubuntu 13.10.
Install oclHashcat version 1.2
~$ sudo apt-get install p7zip
~$ mkdir ~/tools
~$ cd ~/tools
~/tools$ wget http://hashcat.net/files/cudaHashcat-1.20.7z
~/tools$ p7zip -d cudaHashcat-1.20.7z
~/tools$ cd cudaHashcat-1.20
DONE…run some of the example scripts to confirm and test the speed of your graphics card
~/tools/cudaHashcat-1.20$ sudo ./cudaExample0.sh