LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 03-15-2008, 02:36 AM   #1
driftboy
Member
 
Registered: Dec 2006
Location: USA
Distribution: Debian etch 4.0 net installed
Posts: 79

Rep: Reputation: 16
install linux headers


hi,

I am trying to do an apt install for linux headers to compile a driver for my nvidia card.

uname -r
linux 2.6.18-5

apt-get install linux-source-2.6.18

cd /usr/src

bzip2 -cd linux* | tar xvf -

ln -s linux-source-2.6.18 linux

apt-get install linux-headers-2.6.18-5 linux-headers-2.6.18-5-386

E: Couldn't find package linux-headers-2.6.18-5-386


what did i do wrong?
 
Old 03-15-2008, 03:11 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
There seems to be no package called linux-headers-2.6.18.5-386. Isn't it enough without it, or would you need exactly that package? Did you try just "apt-get install linux-headers"?

You should be able to use
Code:
apt-cache search linux-headers
to see what's available, and then install one of the packages listed..
 
Old 03-15-2008, 11:52 AM   #3
driftboy
Member
 
Registered: Dec 2006
Location: USA
Distribution: Debian etch 4.0 net installed
Posts: 79

Original Poster
Rep: Reputation: 16
did it after the apt-cache search linux-headers,

apt-get install linux-headers-2.6.18-5-686 linux-headers-2.6.18-5-686

thank you for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I download linux headers and install on Gentoo AustinMarton Linux - Newbie 2 10-26-2007 02:39 AM
can't install linux-headers-2.6.21 baghdadi13 Linux - Newbie 3 09-06-2007 03:34 AM
Do I need to install linux-headers? mikieboy Debian 21 08-17-2007 02:09 PM
install linux headers of a compiled kernel mariogarcia Debian 5 04-18-2007 06:23 PM


All times are GMT -5. The time now is 07:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration