Installing NVIDIA graphics drivers for most Linux Distributions
Note: It is recommended that you should use the Linux distribution "NVIDIA Linux graphics drivers" package. This is because if you are going to update these drivers in future then it will be easy for the package (as it is a Linux distribution) to find in the repository.
For Fedora Linux Users (Includes Fedora 6/7/8/9 and RHEL5)
To install the NVIDIA drivers in your fedora 6/7/8/9 and RHEL5 operating system then you should ensure that your machine meets the following system requirements.
- The latest version of the Kernel should be installed
- The Kernel-devel RP should be installed on the system. (Please not that Fedora 6 has some bugs with Kernel-devel RPM, so please be careful with this before installing)
- The following packages should be installed pkgconfig and xorg-x11-server-sdk
- Also, please note that Xen Kernel are not supported currently.
Most of the above packages mentioned above can be installed by the following single command. (you must be the root user for doing this)
Code:
# yum install kernel-devel xorg-x11-server-sdk pkgconfig
# yum update
# reboot
For the user who are using the SMP enabled machines may it be multi-CPU or multi core, please install or replace the kernel-devel with the package kernel-smp-devel in the command above.
SELinux requirements
These can be address by following the tow mechanisms after you have installed the NVIDIA Linux graphics drivers.
- If you are not willing to use the SELinux enforcement, disable it by using the command , run this before starting X
Also you can add this line at the end of the kernel which is located in /etc/grub.config
- If you are willing to use the SELinux enforcement, then you will have to change the security.
For changing the security you will need to run the commands which are shown below
Linux/x86 (32-bit):
Code:
# chcon -t texrel_shlib_t /usr/lib/xorg/modules/drivers/nvidia_drv.so
# chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/libglx.so.1.0.9631
# chcon -t texrel_shlib_t /usr/lib/tls/libnvidia-tls.so.1
# chcon -t texrel_shlib_t /usr/lib/libGLcore.so.1.0.9631
Linux/x86-64 (64-bit):
Code:
# chcon -t texrel_shlib_t /usr/lib64/xorg/modules/drivers/nvidia_drv.so
# chcon -t texrel_shlib_t /usr/lib64/xorg/modules/extensions/libglx.so.1.0.9631
# chcon -t texrel_shlib_t /usr/lib64/libGLcore.so.1.0.9631
# chcon -t texrel_shlib_t /usr/lib64/tls/libnvidia-tls.so.1
Bookmarks