Hello Linux Geeksters. As you may know, the Nvidia 334.21 have been recently released, coming with improvemnets for OpenGL, improved support for GPUs with VDPAu and support for the following GPUs: GeForce GTX 750 Ti, GeForce GTX 750, GeForce GTX 745 and GeForce GTX Black TITAN. For more information, see the release notes.

In this article I will show you how to install the Nvidia 331.49 drivers on Ubuntu, Linux Mint, Elementary OS, Debian, Fedora, CentOS, OpenSUSE, Mageia and OpenMandriva.
Because the drivers are available as precompiled binaries, all we have to do is downlod the drivers, set execution permissions, kill the GUI and run the drivers.
Download the driver, for 32 bit systems:
$ wget us.download.nvidia.com/XFree86/Linux-x86_64/334.21/NVIDIA-Linux-x86_64-334.21.run
Download the driver, for 64 bit systems:
$ wget us.download.nvidia.com/XFree86/Linux-x86/334.21/NVIDIA-Linux-x86-334.21.run
Set execution permissions:
$ sudo chmod +x NVIDIA-Linux-x86*-334.21.run
Kill the display manager, which can either be: kdm for KDE, gdm for Gnome, lightdm for LXDE and XFCE (i think), mdm (for Linux Mint):
$ sudo /etc/init.d/kdm stop
OR:
$ sudo /etc/init.d/gdm stop
OR:
$ sudo /etc/init.d/lightdm stop
OR:
$ sudo /etc/init.d/mdm stop
And finally, install the driver:
$ sudo ./NVIDIA-Linux-x86*-334.21.run