Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-25-2002, 01:17 AM   #1
LQ Newbie
Registered: Jun 2002
Location: Washington state
Distribution: Debian and RedHat so far
Posts: 18

Rep: Reputation: 0
Prefix of kernel-headers RH 7

Working as an intern, installed RH 7 on intel box.
Need to install a token ring nic.
Have the Madge driver tarball and ready to go, copied and untared.
Problem is when running Make for first time in RH, need to know the prefix (path) to kernel headers.
From checking an rpm install of the package, I know they are installed, but being a linux dummy I do not know how to find out where they are installed to tell make.
Can anyone help a starter.
Old 06-26-2002, 01:28 AM   #2
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
Hi Pat

have a look at


where you get XXXXX from uname -r, e.g, 2.4.18-3.

In the old days the headers were expected under /usr/src/linux, but that has the disadvantage that if you boot an older kernel, the headers may not match.

If you need to know which files an RPM installed, you can do
rpm -ql <package name>

Hope it helps,


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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 12:20 PM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 07:29 PM
How to get kernel headers? pingu Linux - Software 5 11-25-2004 04:08 AM
Kernel headers mmm Linux - General 3 07-13-2003 04:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 PM.

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