LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-06-2004, 07:11 PM   #1
gadams33
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 10

Rep: Reputation: 0
Installing Kernel Headers


Hi all,
I am in the initial throes of getting my system up. According to the installation instructions for my video drivers (Intel 82845) I am to (and I quote):

Quote:
For Red Hat, insert CD 2, browse to /RedHat/RPMS/kernel-source(your kernel #).i386.rpm, and double-click the file to run (these are your kernel headers). Alternately, load your kernel config file, save the config, then run "make dep"
I am running Fedora 2, and haven't found this file for my current kernel (2.6.6-1.435.2.3) anywhere. Their "alternately" idea sounds good, but I haven't figured out how to do it.

Thanks,
Dan
 
Old 08-06-2004, 07:54 PM   #2
valencequark
Member
 
Registered: Aug 2004
Location: greater dc metro area
Distribution: various, mostly fedora
Posts: 79

Rep: Reputation: 16
Re: Installing Kernel Headers

Quote:
Originally posted by gadams33
Hi all,
I am in the initial throes of getting my system up. According to the installation instructions for my video drivers (Intel 82845) I am to (and I quote):



I am running Fedora 2, and haven't found this file for my current kernel (2.6.6-1.435.2.3) anywhere. Their "alternately" idea sounds good, but I haven't figured out how to do it.

Thanks,
Dan
let me start off by saying that i don't have FC2, i have FC1 on two machines. ordinarily (read: RHx) one could use redhat-config-packages to install the kernel headers. however, this doesn't work for fedora, as it looks in the wrong location for rpm's.

here is what i would try (and it worked on FC1 earlier today):
mount each of your installation discs and (assuming your cdrom mounts to /mnt/cdrom) you can :
cd /mnt/cdrom/Fedora/RPMS

you can ls to see all of the rpm's available on the disc (hopefully one of them is the kernel-source-(xxx)rpm. if not, try another disc).

when you find the disc with the kernel-source-(blahblahblah).rpm, copy it to your home directory.

cd to your home directory, and do:
rpm -ivh kernel-source-(whatever).rpm

you will need root priv to do the last part.


you can check that everything installed by looking for the kernel headers under:

/usr/src

in that directory you should have a directory that is linux-2.(whatever your kernel is)


g'day

--vq
 
  


Reply



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
INstalling Kernel Headers to update nvidia driver plbowler Mandriva 5 09-14-2006 11:10 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
Installing Kernel Headers for SUSE Linux 9.2 budda-bless Linux - Newbie 3 01-21-2005 01:05 AM
Kernel Source Headers? (help needed installing modem drivers) Jakeyboy Linux - Hardware 8 10-07-2003 03:59 PM
Installing kernel headers gigs_42 Linux - Software 1 03-07-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration