Trying to install NVIDIA driver, but it says I need kernal still!!!!
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trying to install NVIDIA driver, but it says I need kernal still!!!!
Ok guys,
I've been spending so much time on this crap, and I'm really mad.
I installed the kernal complier RPM from the discs that came with Fedora. Now I just ran the command make all and I did like this whole config.
So I went to install the driver, and it says it doesn't detect I have a kernal! What do I do, I thought I just installed it, I really need help!
It needs the kernel sources - get them from your install cd, or if you have upgraded the kernel, get them from wherever you got the new kernel from. Make sure the kernel source is the same version number as your current kernel.
Ok well I see I do have the source code doc.
It's in my /usr/src directory. But the NVIDIA driver.run is in my /home/sergi directory.
Could this be the reason it isn't recognizing it?
do an rpm -q kernel-source
if you don't get anything donwnload and install it (try rpmfind.net)
make sure to get one that matches your current kernel version.
run uname -a to find out
typing sh NVIDIA-Linux-x86-1.0-5336-pkg1.run -A prints the following:
--kernel-source-path=[KERNEL SOURCE PATH]
The directory containing the kernel source files that should be
used when compiling the NVIDIA kernel module. When not
specified, the installer will use '/lib/modules/`uname
-r`/build', if that directory exists. Otherwise, it will use
'/usr/src/linux'.
Look in those locations for any valid directories. If they are not there query the kernel-source package for the list of files it installes:
rpm -qpl /path/to/kernel-source.rpm
This lists the files and locations that the rpm installs them in.
Use this path in the --kernel-source-path option
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.