Install Nvidia graphical driver in Ubuntu Lucid (10.04)
Posted Under: General
I used to install nvidia driver in Ubuntu with Envy because it’s make things as easy as two or three clicks.But few days ago when I was about to install nvidia driver in the fresh installed Ubuntu 10.04 beta2,I couldn’t get envy from the repository,then I downloaded and install the .run package from the nvidia official page,but I got an error said “failed to load NVIDIA kernel module nvidia.ko”.
Finally,I properly installed the nvidia driver with following steps.
First,open terminal from Applications->Accessories->Terminal and remove all nvidia stuff by this command:
sudo apt-get purge nvidia*
Blacklist the nouveau by adding following into /etc/modprobe.d/blacklist.conf (edit this file and add following into the end of file)
vga16fb
nouveau
rivafb
nvidiafb
rivatv
Install the latest official stable driver from the repository:
sudo apt-get install nvidia-glx-185
you can type sudo apt-get install nvidia-glx and press tab key twice to get available packages and choose one.
Now,load nvidia module (restart and try again if it doesn’t work):
sudo modprobe nvidia
and you can check it with the command:
sudo lsmod | grep -i nvidia
Finally,create the configuration file with:
sudo nvidia-xconfig
Hope this help!
Related posts:
- How to Install Nvidia Graphics Driver in Ubuntu 10.10 (Maverick Meerkat)
- Install New Official Nvidia driver release 270.41.19 in Ubuntu 11.04 from PPA
- Install Nvidia/ATI graphics card driver in Ubuntu 9.10(Karmic)
- EnvyNG-A Tool to easily install Nvidia/Ati video driver on Ubuntu
- Install Nvidia Graphics Drivers with .Run file in Ubuntu Linux

Reader Comments
You might want to use the following line instead of “sudo apt-get install nvidia-glx-185″:
sudo apt-get install nvidia-current
This installs the latest driver automatically.
[Reply]
Works perfectly, thanks!
Do not forget to reboot after installing
[Reply]
kenneth Reply:
September 27th, 2010 at 9:08 am
thanks i have been having headache for this
[Reply]
Got down to the modprobe and got this:
sudo modprobe nvidia
WARNING: All config files need .conf: /etc/modprobe.d/alsa-base, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist-modem, it will be ignored in a future release.
FATAL: Module nvidia not found.
So that killed the process.
[Reply]
ryan Reply:
June 10th, 2010 at 11:21 pm
same thing happened to me. now my xorg.conf is screwed and I can’t boot. yay….
[Reply]
Alicia Reply:
October 27th, 2011 at 4:47 am
Me too
[Reply]
This worked great.
Thank you.
[Reply]
Worked great, thanks for the tip.
[Reply]
hey looks good but does not work on sony vaio
[Reply]
I had to add “nomodeset” to my boot options to keep nouveau from loading, otherwise worked like a charm.
[Reply]
works perfectly – thanks – saved me a lot of time.
[Reply]
Thanks dude, solved a problem the nouveau driver has with my Geforce 6150LE.
Just had to add to /etc/modprobe.d/blacklist.conf
blacklist vga16fb
blacklist nouveau
Also did an update-initramfs -u though not sure if required. Then installed the nvidia driver – apt-get install nvidia-current.
I couldn’t boot the install CD due to the damn nouveau driver. Was able to install using the mini.iso
[Reply]
Hola, se puede instalar de una forma sencilla, vamos a:
Sistema > Administración > Controladores de Hardware
El propio sistema te reconocerá el hardware con controladores privativos, como NVIDIA o ATI, le damos a activar y listo, el solito se baja los drivers y los instala.
Un saludo.
[Reply]
It is working perfect. Thanks!!
[Reply]
surya Reply:
April 6th, 2011 at 12:08 am
how can i add proprietary drivers and save permanently
[Reply]
Hi
How to revert back all the above configured changes. Not just won’t be able install nvidia correctly but also lost visual effects of compiz fusion. Kindly share details so that i can revert back to previous settings.
Thanks & Regards
[Reply]
all i did was add the Nvidia PPA and let the system do the rest. now it stays up to date by itself.there is no need to do anything else.
[Reply]
I have just stuck on “Blacklist the nouveau by adding following…”I cant save changes, because my sistem is saying that im not owner of that PC.
any sugestion?
[Reply]
Did not work for me.
sudo modprobe nvidia
returns
FATAL: Module nvidia not found.
Rebooted, tried again, still get this error message. Now what to do? I love ubuntu but its 2011 and not ready for prime time. Note tried wubi 11.04 and get the same thing. Don’t know why no one wants to fix this before changing everything. Makes it hard to recommend to anyone.
[Reply]
I second the suggestion that you use nvidia-current. I will also say this did NOT work for me until I added the x-swat repository!!! I am using 10.04, and the standard repositories did not have the latest drivers – but my card needed the latest drivers. Add the x-swat repository fixed things.
[Reply]
Add this (ppa:ubuntu-x-swat/x-updates) to your software sources. No need to black list any thing and screw your O/S up.
[Reply]
Worked fine on Ubuntu 11.04! I only did
sudo apt-get purge nvidia*
sudo apt-get install nvidia-glx-185
- thats it!
[Reply]