On Windows installing Nvidia driverrs are very easy.Download .exe file of your software and double click on it.But in Ubuntu it is difficult.One method of installing Nvidia driver is from Ubuntu software center.This method is very easy.
Open Software center -& Search for 'Nvidia' and click on install
Method 2
This is more difficult.It is from Nvidia website.Search for your driver and download ".run" file.For 540M size of this file is less than 60MB.
After Downloading open Terminal
Type
cd Downloads
sudo sh NVIDIA-Linux-x86_64-295.33.run
Enter password
Example
sibin@sibin-Ideapad-Z570:~$ cd Downloads/
sibin@sibin-Ideapad-Z570:~/Downloads$ sudo sh NVIDIA-Linux-x86_64-295.33.run
[sudo] password for sibin:
Problems:
Error message occure if you are using x windows.Use command section instead of using Graphical section