Last Updated: 10 December 2004

Custom Nvidia Driver Installation - Fedora Core 4

Back to the Unofficial Fedora FAQ

Here's how to install the nVidia drivers if the RPM doesn't work (or if you don't want to use the RPM):

  1. Get the lastest linux drivers.
  2. Now print this out, or write it down, because we're going to close X, the graphical part of Linux.
  3. Open a Terminal.
  4. Become root:

    su -

  5. Shut down X:

    telinit 3

  6. Now, you will have a "Login:" prompt. Log in as root and go to the directory where you downloaded the nVidia drivers.
  7. Type:

    sh NVIDIA-Linux-x86-1.0-6106-pkg*.run

  8. Type:

    cp -a /dev/nvidia* /etc/udev/devices/

  9. Type:

    chown root: /etc/udev/devices/nvidia*

  10. Follow nVidia's instructions to set up the driver. (Read the "EDITING YOUR X CONFIG FILE" section.)
  11. Now, we need to remove some conflicting files:

    rpm -e --nodeps xorg-x11-Mesa-libGL

    NOTE: If you update any "xorg-x11" package with up2date or yum, you will have to do the above command again.

    NOTE: Some users report that removing this package is not necessary for them.

  12. Type:

    modprobe nvidia

  13. You can now restart X by typing:

    telinit 5

    .

NOTE: You must re-do these steps every time you install a new kernel with yum or up2date.

(Thanks to Dexter Ang for helping me simplify this answer! Thanks to Vahe Sarkissian for a good correction. Thanks to D. Michael Basinger for letting me know that you have to do modprobe nvidia.)

This FAQ is maintained by Max Kanat-Alexander. That's max [at] fedorafaq *dot* org or "mkanat" in the #fedora IRC channel.

You can help us keep this FAQ up to date! If you discover an issue we don't cover, find any errors in the answers already here or have a suggestion of some kind, please contact us and we'll get on it.
The author of fedorafaq.org would also like to thank Jolie Kanat for her various advices and assistance.
"Fedora" is a registered trademark of Red Hat, Inc. Visit the official Fedora Project web site.