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:
- Install Nvidia/ATI graphics card driver in Ubuntu 9.10(Karmic)
- Install Nvidia Graphics Drivers with .Run file in Ubuntu Linux
- EnvyNG-A Tool to easily install Nvidia/Ati video driver on Ubuntu
- Disable the annoying Beep when shutdown Ubuntu
- How to install Windows wireless network card driver in Ubuntu

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]
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]
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]