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 Stable drivers on the most popular Linux systems, including: Ubuntu, Linux Mint, Elementary OS, Pinguy OS, LXLE, Linux Lite, Deepin, Peppermint, Debian, Fedora, CentOS, OpenSUSE, Mageia and OpenMandriva.
Because the drivers are not available via any repository, we have to download the binary files from the official site:
For 32 bit systems:
$ wget us.download.nvidia.com/XFree86/Linux-x86/340.24/NVIDIA-Linux-x86-340.24.run
For 64 bit systems:
$ wget us.download.nvidia.com/XFree86/Linux-x86_64/340.24/NVIDIA-Linux-x86_64-340.24.run
Set execution permissions:
$ sudo chmod +x NVIDIA-Linux-*-340.24.run
Kill the display manager, which can either be: kdm for KDE, gdm for Gnome, lightdm for LXDE and XFCE, mdm (for Linux Mint):
$ sudo /etc/init.d/kdm stop
$ sudo /etc/init.d/gdm stop
$ sudo /etc/init.d/lightdm stop
$ sudo /etc/init.d/mdm stop
And finally, run the Nvidia binary file:
$ sudo ./NVIDIA-Linux-*-340.24.run