Tuxicity's source

June 4, 2008

Howto: Install NVIDIA manually in Ubuntu and Debian

Filed under: Debian, NVidia, Tuxicity, Ubuntu — tuxicity @ 2:06 pm

Since some prefer to install the NVIDIA driver manually here s how its done in Ubuntu and Debian.

First get the needed packages (Assuming you have the needed repositories) as root or sudo:

apt-get install build-essential linux-headers-`uname -r`

————————————————–For Ubuntu users only—————————————————-

Purge nvidia-glx-new if it is installed:

sudo apt-get remove nvidia-glx-new –purge

Adjust your linux-restricted-modules-common file:

sudo nano -w /etc/default/linux-restricted-modules-common




DISABLED_MODULES=”nv nvidia_new”

In stead of using nano you can also use another editor of course.

——————————-End for Ubuntu users only———————–

Now download your NVIDIA Driver from here or, if you want an older one, go here (links may change in the future)

Now you have to drop into a terminal with the command ctrl-alt-f1

Log in as user and become root or use sudo and key in

killall gdm


killall kdm

to kill your X session.

Now you can install your NVIDIA driver with the command as root (Ubuntu users use sudo)

sh /path/to/NVIDIA-Linux-x86-whateverversion.run

When the installer asks if it should edit your xorg.conf choose yes (make sure you have your xorg.conf backed up!!)

After installation key in as root (sudo for ubuntu users)




You should now get back into your login screen. (If not try a reboot and otherwise you are pickled)

If you are not sure what this all means its better not to try any of this.
Ubuntu does not support this in any way shape or form.




  1. yeap! this method forks perfectly on Debian-box. Some information on the theme is available from vendor: http://www.nvnews.net/vbulletin/showthread.php?t=72490

    Comment by LMZ — June 6, 2008 @ 7:10 am

  2. This is not working on Ubuntu hardy, hardy uses Xen kernel. The NVIDIA driver does not work on Xen kernel.

    Please help

    Comment by Ed — July 25, 2008 @ 3:47 pm

  3. Yess!!!! It works!

    Comment by bebrs — February 20, 2009 @ 1:10 pm

  4. worked perfect on linux mint 6 x64

    Comment by corey — March 24, 2009 @ 1:15 am

  5. Damn…. so hard to install Nvidia driver for ubuntu, are there any installer that could do the installation for me just like in Microsoft Windows?

    Please help…


    Comment by Jon — June 25, 2009 @ 1:57 pm

  6. works also great for Linux Mint 7 x64

    Comment by iger — July 15, 2009 @ 7:15 pm

  7. Thank you very much for this – I forgot to remove the pre-installed nvidia-legacy driver and the resolution was really bad. After I followed the steps here, everything worked great.

    Comment by Kumar — July 18, 2009 @ 11:42 pm

  8. This also worked on Ubuntu jaunty 9.04. I used NVIDIA-Linux-x86-185.18.31-pkg1.run and it worked quite nicely too.
    Finally I can see the cool NVIDIA logo when X starts up. Grt!

    Comment by abhi datt — August 2, 2009 @ 10:16 pm

  9. It tells me the package cant be opened, any ideas?

    Comment by James — September 10, 2009 @ 11:06 am

  10. […] Everything will run upon the latest Ubuntu OS (regular version, not server, so to run XBMC or boxee). Right now I am using Karmic, which installed flawlessly off an usb drive. The only minor thing has been installation of the latest Nvidia driver: the one installed by default by Ubuntu at this point was too old and did not play well (at least at 1080p): compiz was not able to run, and the overall performance was slow and buggy. The latest Nvidia driver fixed this, but it had to be installed manually. […]

    Pingback by ATOM/ION nas home server | >dade — February 17, 2010 @ 11:34 pm

  11. Why when i press ctrl+alt+f1 says enter your login, than pasword and when i enter login and pasword and press enter it says: bad login…. where i can find my login? ps. srr for my bad english

    Comment by Antanas — April 11, 2010 @ 5:15 pm

  12. this solved a display issue I’ve been having for 6hrs now lol


    Comment by seanatron — August 21, 2010 @ 3:42 am

  13. Awesome content! Th8ank you!

    gilbert realtor

    Comment by chandler realtor — August 24, 2010 @ 10:00 pm

  14. Dell just lately bagged the actual merit for the total greatest laptop brand name on the globe. The particular Dell laptop computer along with notebook computers tend to be synonymous with high-end engineering …Alienware for Free

    Comment by Dell all in one computer — February 26, 2012 @ 5:35 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

WordPress.com Logo

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

Google+ photo

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

Twitter picture

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

Facebook photo

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


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: