LinuxQuestions.org
Review your favorite Linux distribution.
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-03-2003, 11:54 PM   #1
ImAnEwBiE
Member
 
Registered: Jul 2003
Location: Philippines
Posts: 31

Rep: Reputation: 15
Question on RH 9(Kernel-headers)


ey guys!I need to install kernel-headers in my machine,but i cant find the said file in my 3 cd's...Can anyone help me regarding this matter?
 
Old 08-04-2003, 12:00 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
You need to install kernel-source. Type
uname -r
in the console to find out what kernel you have and download the kernel source specific to that from some site like
http://www.rpmseek.com/index.html
which distro do you have? look on google if you dont find kernel-source at the above site
Cool
 
Old 08-04-2003, 12:12 AM   #3
ImAnEwBiE
Member
 
Registered: Jul 2003
Location: Philippines
Posts: 31

Original Poster
Rep: Reputation: 15
after uname -r it posted 2.4.20.Do i need to download kernel-source or kernel-headers only?how can i know if it is the right one for my machine?
 
Old 08-04-2003, 12:19 AM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
kernel headers are in kernel-source. It should give you more info than that example: uname -r on my machine gives me
2.4.20-19.9
In your case it doesnt give you a release number, make sure you have that. Than download
kernel-source-2.4.20-19.9.i386.rpm (for example). Usually these files are on your 3rd installation cd. You can go into main menu >> System Settings >>Add/Remove Applications >> Development packages>>Kernel Development packages and install those packages.
Post here if you are still confused
Cheers
 
Old 08-04-2003, 12:25 AM   #5
ImAnEwBiE
Member
 
Registered: Jul 2003
Location: Philippines
Posts: 31

Original Poster
Rep: Reputation: 15
i did not configured it to start X..Im trying to configure it in Text-based mode.It showed me 2.4.20.The 3rd CD has no kernel-source in it...Where can i find this?


Your help is very much appreciated!thank you very much!
 
Old 08-04-2003, 12:33 AM   #6
ImAnEwBiE
Member
 
Registered: Jul 2003
Location: Philippines
Posts: 31

Original Poster
Rep: Reputation: 15
I found it in one of my cd's...My mistake...sorry for that..My next problem is that when I try to install all of the rpm's I need from one of my directories,it still looks for the kernel-headers..I tried to install Kernel-source first to see if it gives out kernel-headers but dependencies prevent me from doing this...thanks!
 
Old 08-04-2003, 12:40 AM   #7
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
kernel-source2.4.20 is what you should look for in your cd. Again, I believe there should be a release number with it..i wonder why it isnt showing up. Without that you wouldnt know which one to download.
Do, uname --help for help on this topic. You can find source rpms here:
http://ftp.freshrpms.net/pub/freshrp...kernel-source/
if all fails then install x and gnome and do the steps I told you. You can always uninstall it .
Hope it helps
 
Old 08-04-2003, 12:41 AM   #8
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
oops mistake, I meant kernel-source-2.4.20.i386.rpm
 
Old 08-04-2003, 12:57 AM   #9
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Try uname -a
 
  


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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
A general question about kernel headers: failure_man Slackware 4 02-27-2005 11:37 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
First post... Quick question: kernel headers lopi Slackware 4 04-04-2003 05:12 PM

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

All times are GMT -5. The time now is 05:49 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