I tried installing nvidia driver, and it said i need the kernel sources. whats the apt-get thingy for that. lmao.
Printable View
I tried installing nvidia driver, and it said i need the kernel sources. whats the apt-get thingy for that. lmao.
use "apt-cache search whatever" until you find the syntax for the headers...then dl the ones that match up with your kernel...make sure you get the sources as well, as they are also required
noob here, i have no idea what you are talking about.
oh, sorry, for some reason I thought we were in the debian forum! Find an rpm package for your kernel headers corresponding to your kernel version, you can check your /boot folder to see which one it is, google around for an rpm of it and install it, for example my kernel is 2.6.13-r3, so I would google for the headers for that...yes its kind of convoluted and your distro should have come with it, but once you get that, and get the nvidia splashscreen for the first time, all will be worth it!
My kernel version is 2.6.8.1-3. do you know where i can download the headers? I couldnt find them, can u get me a link. btw, my system is yoper linux.
apt-get install kernel-headers
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-headers is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
WHAT DO I DO!!!!
ok, I googled around a bit and it seems that yoper uses apt-get, open up a root terminal and type "apt-get update" after that try "apt-cache search kernel | more" use your down arrow to scroll down to the package you need and then apt-get install exactpackagenameyousee...
But I already tried that.
apt-get install kernel-headers
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-headers is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
The debian kernel recompile HOW-TO outlines this pretty well..
http://www.debian.org/doc/manuals/re...kernel.en.html
the relevant lines from the how-to would be.
apt-get install kernel-source-2.6.8 # install kernel version
cd /usr/src # change to build directory
tar --bzip2 -xvf kernel-source-2.6.8.tar.bz2 # extract source to folder untill you extract it your system can't find it..
and then create the symlink in the /usr/src directory to the correct version of hte kernel source..
ln -s /usr/src/kernel-2.6.8/ linux
everyone seems to think when you do an apt-get install kernel-source that it installs and extracts the source files. In reality, all it does is put the compressed source files in the /usr/src directory, you need to manually extract them at that point. I think the reason they do it this way is so you can have kernel source for multiple versions installed at the same time (2.4 and 2.6 for instance) a newer kernel source won't overwrite a previous one automatically, which makes sense.
using the kernel-compile how-to in conjunction with the debian nVidia How-to should make installing the nVidia drivers pretty easy..
http://home.comcast.net/~andrex/Debi...tallation.html
WOW Yoper is stale.. the packages in it are older than debian stable.. I'm impressed..
Heres what Happened:
apt-get install kernel-source-2.6.8
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
E: could not open RPM database
I think their server is down, is that y that happened?