How To Install The NVIDIA 340.24 Driver On Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.04 And Derivative Systems

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.

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

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

Liked it? Take a second to support Geekster on Patreon!
Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!
13 comments on “How To Install The NVIDIA 340.24 Driver On Ubuntu 14.04, Ubuntu 13.10, Ubuntu 12.04 And Derivative Systems
  1. plazma says:

    340.24 or 331 ???

    “$ sudo apt-get install nvidia-331” isnt it wrong ?

  2. nouveauhater says:

    Thanks. This little piece of advice ended about 20 hours of nouveau terror. God nouveau is a piece of shite, xorg-edgers ftw!

  3. BTJ says:

    I already have Nvidia 331.38 installed, do I need to uninstall this driver before using the new repository to install new version?

  4. BR says:

    Thanks for this advice Geekster.
    Question related to this procedure on Linux Mint 17 :
    – any config files to adapt manually afterwards ?
    – as I try this installation on a notebook with GeForce 850M, what should be set in the Driver Manager after installation ? Namely there are two choices : “nvidia-340” and the nouveau one with xorg (which is selected by default)

    I would be very grateful if you could recommend the right steps for my case : Linux Mint 17 cinnamon on an ASUS N550JK with GeForce 850M, namely an optimized power management should be taken into consideration (Intel GPU used by default, nVidia only when required)

  5. Sebastian says:

    I’m trying to install it on Ubuntu 12.04. However when I check the nvidia drivers that it allows me to install … I found only up to 331. and I already have installed that one.(I want to check if the 340 is there before I uninstall the 331)

    Somebody wrote in another article that I should run sudo apt-get dist-upgrade … But I am not so sure about that, because my whole system will update the distribution and I don’t want that.

  6. Sean says:

    If the new driver screws something up, can I get back to where I started by running these commands:

    sudo apt-get remove nvidia-340
    sudo apt-get install nvidia-331

  7. Ereth says:

    Does it also work on 64-bits Trusty?

  8. Kraken says:

    Ohh man, you don’t know how much this saved me after figuring out for hours why I get no signal going into the log in screen. Thanks a lot! 😀

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!