I'm trying to install the drivers for my nvidia graphics card. I downloaded the shell script from the nvidia website. However, there's something peculiar going on. When I execute the shell script it says it cannot find my kernel headers, yet I can verify that my /usr/include/linux/kernel.h does exist. I have selinux on, but just installed os with it on, so contexts are fresh. Checked them as well.
After doing some research I found something out. When I run a 'uname -a' I get this.
Linux ariel 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 EDT 2010 i686 i686 i386 GNU/Linux
Yet when I ran 'yum install kernel-devel kernel-headers' they installed the following versions.
Shouldn't they be
I see that the error in the nvidia shell script can't locate the header files for the RUNNING kernel version which makes sense. Why would yum install that version instead of the one in 'uname -a'?
Or am I misunderstanding something?