Wednesday, 6 February 2008

Installing NVIDIA Drivers in Ubuntu

Unlike many other video card manufactures NVIDIA produces easy to install drivers for Linux.

To install your NVIDIA card’s drivers first download the correct driver for your card from the NVIDIA website.

Before you start your installation make sure you have the package libc6-dev installed. To do this use the command:

sudo apt-get install libc6-dev

To start installing the driver you will need to kill your xserver. This will mean you will no longer have access to your GUI so it will be a good idea to print out these instructions before doing so.

To kill your xserver just stop the process. If you are using the KDE desktop type:
sudo /etc/init.d/kdm stop
Or if you are using Gnome desktop type:
sudo /etc/init.d/gdm stop
Your GUI will disappear and be replaced with a simple text prompt. Press Ctrl + Alt + F2 and you will be able to log in. Once you have logged in navigate to wherever you downloaded your driver to and make the driver executable by typing (note your driver might be called something slightly different):
chmod a+x
You can now install the driver by typing:
Run through the installation, answering any of the questions. When the installation is complete you can start your xserver again. To start your xserver in KDE type:
sudo /etc/init.d/kdm start
Or if you want to use Gnome desktop type:
sudo /etc/init.d/gdm start
Your GUI should now start up again with the latest driver for your graphics card installed.

No comments:

Post a Comment