I know there is a PPA for getting new nVidia drivers but, I like this method as I can have the latest driver quicker.
I am pretty sure this will work for other versions of Ubuntu besides 10.04. I know it has worked for a few people using Ubuntu 12.04.
The latest nVidia driver came out for Linux on 2012.05.16 version 295.53.
This is not for the squeamish, so if you are not comfortable doing this or are new to Ubuntu I would not recommend it.
Download the latest nVidia driver here.
This is the English version, but you can select another language I am sure.
You will select either the 32 bit Linux or 64 bit Linux version.
Here are the instructions for installing the driver:
I have used this many times without any problems. I suggest printing steps 4 through 8 to have after rebooting.
I just copy them to a gedit record and print that page.
If you have done this before you will start at step 4 as the previous steps have already been accomplished.
If you have installed the driver this way before, you will just reboot into recovery and select the shell prompt (the bottom option on my system).
The first time installing the driver after removing the default driver, you will not need to enter telinit 3, but the 2nd, 3rd, etc. you will need to.
The directions do not mention this but, you will want to enter telinit 3 (the nVidia driver will tell you to do this if you do not do it now) before logging in (Step 6) and wait a few seconds for that to take effect.
Then just enter your userid and password.
Step 7 you will change the file name to the one you downloaded.
You will be asked to accept the terms and need to answer a few other questions with yes.
It will ask if you want to create a new Xorg file and you want to say yes.
Once you do step 8 to start GDM, you will be looking at your normal login screen.
After doing this, you must go by the following tutorial to install the driver into future kernels that are installed.
HOWTO: Automatically update manually installed NVidia drivers after kernel updates
This was written by sdennie from this forum. It was written back in 2007 but, still works flawlessly.
I recommend using command line to get updates sudo apt-get update && sudo apt-get upgrade.
ranch hand, a knowledgeable guy in this forum told me to use these commands. This way you can see what is going on. I just use Update Manager to review the updates.
If there is a kernel to be installed it will be held back and once you get the updates from the above command, you will enter sudo apt-get dist-upgrade to install the new kernel.
This way when installing a kernel you will see Building NVIDIA driver for kernel .....
And then either SUCCESS: Driver installed for kernel ... or FAILURE: See /var/log/nvidia-installer.log
If it is just upgrading a kernel it will tell you the driver is already installed.
In the future, you can either continue using this driver or update to a newer one.
These instructions will still apply.