Configuring a NVIDIA graphics chip for CentOS and RHEL 5


Bill Giannikos


Agen Judi Online This guide will help you configure the proprietary nvidia module under CentOS and Red Hat Enterprise Linux 5. For those that don't know, CentOS 5 and Red Hat Enterprise Linux 5 are basically the same thing just with a different name so this guide applies to both. I will not be covering the open source nv module included with Xorg because its configuration is normally handled automatically by most Linux distributions.

Licensing Issues

NVIDIA provide their own license for their driver. You will need to read and accept this license before proceeding. You can read this license


We will be using 'nano' as our text editor of choice but you can use whatever you wish.

While this guide is mainly focused to laptop users there isn't any difference for desktop users.


You should run a full update for your installation to ensure you have all the latest packages installed.

Installing the NVIDIA driver

The nvidia driver is not included with CentOS/RHEL 5 so we will need to use a 3rd party repository. Here we will be using the ATrpms repository.

1. Load up a terminal window if you are in the graphic interface.

2. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password

3. Edit the file /etc/yum.conf. Using nano we type the command “nano -w /etc/yum.conf”

4. If you have already configured yum to use the ATrpms repository then append “*nvidia-graphics*” to the end of the “includepkgs” line and skip the next setup. Otherwise continue on.

5. Add the following to the bottom of this file:

name=EL $releasever - $basearch - ATrpms

6. Save the file. In nano you press Ctrl-X, answer yes to the “Save modified buffer” question and then press enter on the file name to write.

7. If you have not previously setup ATrpms execute the following command:

rpm --import

8. Now execute the following command:

yum install nvidia-graphics169.07 nvidia-graphics169.07-kmdl-`uname -r`

9. Reboot your system and you will be using the nvidia driver.


Normally after installing the nvidia driver with the steps above your xorg.conf file should have automatically been updates to use the newer driver. If this did not happen or for some reason it has reverted then, as root, enter the following command

Agen Judi Bola |


This will switch you back to the nvidia driver.

configuring_a_nvidia_graphics_chip_for_centos_and_rhel_5.txt · Last modified: 2017/04/23 13:41 by
Contact Us Sister Sites Privacy Policy Terms of Use
Copyright © 2006-2013 and other authors