954,141 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

installing nvidia graphics card debian

hi guys,
I have just installed debian 2.6.18-6-amd64 and am trying to install the graphics card i have a 7600 gt and have downloaded the package from nvidia i reboot into single user mode so that gdm isnt started and then run the package. It tells me that the driver hasnt been built for my kerenel would i like to check ftp://nvidia.com i say yes but it cant connect as the network isnt enabled in single user mode so it then says would you like to compile for your kerenel i click yes but it cant find the kerenl soure files. Now i know i need to install them but where do i get them from i have tried using apt-get but it cant find them. Please help!!

chris5126
Posting Pro in Training
415 posts since Feb 2006
Reputation Points: 38
Solved Threads: 15
 

Most likely the drivers only require the Linux kernel headers. Find out your kernel version with:

uname -r

Then grab the kernel headers with something like:

apt-get install kernel-headers-<strong><em>version</em></strong>


Then try to recompile again. If that doesn't work, you might want to try downloading the full kernel source (which would be kernel-source-version).

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

hi i have tried

apt-get install kernel-headers-`uname -r`

but it doesnt work i have also tried

apt-get install kernel-headers-2.6.18-6-amd64

and this doesnt work as it cannot find the package, i have selected all the selectable repostories also when i google for thoes kernel headers i get nothing. I have tried looking for the kernel source on the debian website but am probably lookin in the wrong place cld u give me a link?? cheers

chris5126
Posting Pro in Training
415 posts since Feb 2006
Reputation Points: 38
Solved Threads: 15
 

managed to get it working wasted most of my sunday doing it but it wors !!

chris5126
Posting Pro in Training
415 posts since Feb 2006
Reputation Points: 38
Solved Threads: 15
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: