Previous HOWTO is here.
If you followed the previous HOWTO to install the nVidia driver, you can uninstall it by the following command :
./NVIDIA-Linux-x86-295.20.run --uninstall
The better way to install nVidia driver
Step 1 :
add-apt-repository ppa:ubuntu-x-swat/x-updates
apt-get update
apt-get install nvidia-current nvidia-current-modaliases nvidia-settings
Step 2 :
Reboot your system.
After reboot, you issue the following command :
nvidia-xconfig
splash-fix
Then, reboot your system again.
If you install the nVidia driver this way, you are not required to reinstall the driver after the kernel is updated.
You can follow the other parts of tutorial in the previous HOWTO for sample code of CUDA and Pyrit.
That's all! See you.