Hello Linux Geeksters. As you may know, the NVIDIA 340.24 GPU driver for Linux has been released recently, coming with support for G-Sync, fixed some bugs regarding WineHQ, got the nvidia-settings package updated, and received some optimizations and support for new graphical cards. For a full list of improvements and new supported GPUs, see the changelog.
In this article I will show you how to install the Nvidia 340.24 drivers on Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 13 Maya, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Pinguy OS 14.04, Pinguy OS 12.04, LXLE 14.04, Peppermint Five, Linux Lite 2.0, Deepin 2014 and other Ubuntu derivative systems.
Because it is available via PPA, installing the Nvidia 340.24 drivers on the listed Ubuntu, Linux Mint, Pinguy OS and Elementary OS systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the nvidia-graphics-drivers-331 package. Like this:
$ sudo add-apt-repository ppa:xorg-edgers/ppa
$ sudo apt-get update
$ sudo apt-get install nvidia-340
Optional, to remove the Nvidia drivers, do:
$ sudo apt-get remove nvidia-340