LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Help installing Nvidia driver... (https://www.linuxquestions.org/questions/debian-26/help-installing-nvidia-driver-360788/)

Brnzwngs 09-06-2005 01:45 PM

Help installing Nvidia driver...
 
Hey, I am running the 2.4.27 kernel (ugrading soon) and am having trouble installing the Nvidia driver. I got the run file off their site but when I type sh NVidiaxxxxxx.run it eventually gives me an error saying that it can't find the correct kernel-source tree. Any help would be greatly appreciated! Please tell me the full commands because I am still very new to linux! Thanks in advance!

dinolinux 09-06-2005 01:50 PM

The problem is that you haven't got the Linux source. Get it by doing an apt-get install kernel-source or someting like that (do an apt-cache search source to find it). Then it should work :)

reddazz 09-06-2005 01:52 PM

You need to install the kernel source or headers for the kernel you are running using apt/synaptic. Synaptic maybe better if you are new to linux.

Brnzwngs 09-06-2005 01:59 PM

I did apt-get install kernel-source 2.4.27 but I don't know what to do from there?

Xian 09-06-2005 07:59 PM

You need to extract that tarball into the /usr/src directory.
Then create a symlink named 'linux' to the kernel-source folder.

Also, be sure you installed the applicable kernel header package.

ToastedToad 09-06-2005 11:51 PM

As root:

Code:

cd /usr/src
Code:

tar xvjf kernel-source-x.x.x.tar.bz2
Code:

ln -s kernel-source-x.x.x linux


All times are GMT -5. The time now is 06:29 PM.