The version 3.2.16 of cuda toolkit version requires driver 260.19 from Nvidia. To add this Nvidia driver version from a ppa source, we need to write from a console:
$ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates $ sudo apt-get update $ sudo apt-get install nvidia-current nvidia-current-modaliases nvidia-settings
We configure the X to use the new drivers:
$ sudo nvida-xconfig
Now reboot the machine to take effect the changes made:
$ sudo reboot
To obtain cuda toolkit 3.2.16 press here and download it inside /tmp, then execute:
$ cd /tmp $ chmod 755 cudatoolkit_3.2.16_linux_64_ubuntu10.04.run $ sudo ./cudatoolkit_3.2.16_linux_64_ubuntu10.04.run
When it asks about path where it'll install, we enter the default location (/usr/local/cuda). After cuda toolkit finish, we create a file called /etc/ld.so.conf.d/cuda.conf with the next content:
$ cat /etc/ld.so.conf.d/cuda.conf /usr/local/cuda/lib64 /usr/local/cuda/lib
We need execute ldconfig to include dynamic libraries from cuda toolkit:
$sudo ldconfig
To finish, we need to give permissions to access the folder /usr/local/cuda
$ chmod -R 755 /usr/local/cuda