How to Install Latest Nvidia Video Card Drivers on Linux
Installing drivers on Linux based operating systems is not as simple as in Windows. lets install the latest available drivers for your Linux distro:
Right click on your desktop and click on Open In Terminal.
Then type sudo apt-add-repository ppa:xorg-edgers/ppa and press enter to add the repository. The xorg-edgers ppa provides the latest nvidia drivers.
If prompted enter the user password.
Then install updates and distribution upgrade: sudo apt-get update && sudo apt-get dist-upgrade
Check to see what is the most recent drivers for your graphics card by going to Nvidea drivers download section and enter the model of your graphics card, make sure to select linux operating system.
Once you have that information then run aptitude search nvidia to search the available drivers in the repository.
After the searching has completed type sudo apt-get install nvidia-340 nvidia-settings and press enter. “nvidia-340″ being the latest driver.
Then after it’s done , restart your pc and you should be fine.