Installation is pretty easy and it uses a ppa repository. So you do not need to compile anything. However, make sure to follow the steps properly
1. Find out your graphics card model
Use the lspci command to find out the model of your graphics card
$ lspci -vnn | grep -i VGA -A 12
01:00.0 VGA compatible controller : NVIDIA Corporation GT218 (rev a2) (prog-if 00 )
Subsystem: ASUSTeK Computer Inc. Device
Here its GeForce 210
2. Find out the right driver version for your graphics card
Fill in the details about your graphics card and system and then click Search. On the next page, it should tell you the correct driver version with a download link and additional information.
For the above GeForce 210 card, it showed 331.67 as the correct driver which can be downloaded from the website. However we shall install the drivers from ppa to make things easier.
3. Setup the xorg-edgers ppa
The xorg-edgers ppa provides the very latest nvidia drivers. Run...
Read full post here
Install the latest Nvidia drivers on Xubuntu 14.04 Trusty Tahr