Hello Linux Geeksters. As you may know, NVIDIA is developing the Linux drivers on several branches, the Long Lived branch being considered the most stable branch. Also, there is the Short Lived branch, where the latest bug-fixes and changes get implemented and the Legacy branch, which provides drivers for old NVIDIA GPUs.
Recently, the NVIDIA 340.46 driver for Linux has been released, coming with bug-fixes, as part of the Long Lived branch.
Until it gets manually available via the default repositories of the most popular Linux systems, follow the below commands to perform a manual install.
In this article I will show you how to install the Nvidia 340.46 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.46/NVIDIA-Linux-x86-340.46.run
For 64 bit systems:
$ wget us.download.nvidia.com/XFree86/Linux-x86_64/340.46/NVIDIA-Linux-x86_64-340.46.run
Set execution permissions:
$ sudo chmod +x NVIDIA-Linux-*-340.46.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.46.run