Dear readers! Today I'd like to write a post on how to automatically install latest Nvidia display driver on Linux. When writing this post, the latest Nvidia driver is 295.40 with the following release highlight:

  • Added support for the following GPUs:
    • GeForce GT 635M
    • GeForce 610M
  • Closed a security vulnerability which made it possible for attackers to reconfigure GPUs to gain access to arbitrary system memory. For further details, see: http://nvidia.custhelp.com/app/answers/detail/a_id/3109
  • Fixed a bug that caused DisplayPort devices to occasionally fail to turn back on after the system is resumed from suspend.
  • Added a ModeValidation X configuration option token, "AllowNon3DVisionModes", to allow modes that are not optimized for NVIDIA 3D Vision to be validated on 3D Vision monitors.

How to install this latest driver and get an update automatically when new version available? Simply, install "nvidia-current" package from repository:
  • sudo apt-get install nivida-current
In case, you are using older Ubuntu version and there is no package named "nvidia-current", you have to add X-Updates Team PPA to your software sources:
  • sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
  • sudo apt-get update
  • sudo apt-get install nivida-current
Please note that installing proprietary driver might broke your system, so please use this driver at your own risk!

Regards :)