How to install NVIDIA Drivers in Ubuntu Linux

Probably you have tried to install NVIDIA graphics driver for Ubuntu or Linux in general so many times just like me, but never found a way how to do that properly.

Well in Ubuntu you have some 2 types of NVIDIA driver which you can find them in Additional Drivers (third party proprietary drivers) :
1. The Version 173 – which is crap especially because its very slow & laggy.
2. Recommended one – which has bugs on KDE and usually in some cases results with crashing entire OS, sometimes when trying to resize konsole in KDE. (at least that’s what happened with me)

To start with:

Ubuntu has an enabled Kernel Nouveau by default, this is what makes the NVIDIA driver always crash during installation.
So to install the drivers ofcourse you need to disable that so that you can proceed.

1. Firs go to Nvida website and download the newest Nvidia driver compatible with your graphics card series.

2. Reboot Ubuntu

3. Before login Screen Choose “Recovery mode” on the grub menu.

4. And then chose “root console”

5. Open module blacklist as admin:

$ sudo nano /etc/modprobe.d/blacklist.conf

add this line in the end:

blacklist nouveau

6. Uninstall any previously installed Nvidia drivers:

$ sudo apt-get --purge remove nvidia-*

7. Disable the Kernel Nouveau.

$ echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
$ update-initramfs -u

Final Steps.

8. Reboot Ubuntu again and follow step 3 & 4 again.

9.Change to init 3

$ init 3

10. Install the Driver:

$ sudo sh

Reboot your computer and you’re good to go.. 🙂
I hope this tutorial was helpful..
At least this is what worked for my Nvidia 9500 GT Drivers in a Kubuntu 32bit PC.

4 thoughts on “How to install NVIDIA Drivers in Ubuntu Linux

  1. Very good advices! it cleaned up my screen driver mess – which I never understood anyway.
    Still a little perplex about the fact that no NVIDIA drivers seems to be activated in the “additional drivers” list. But then again everything seems to work fine with multiple rotated screens so I will leave it as is. Thanks.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s