Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-04-2005, 08:18 PM
|
#1
|
Member
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77
Rep:
|
Kernel source missing??
Can someone point me in the right direction as to how go about finding the kernel source file. In RedHat and many other Distros, the kernel source file was in /usr/src. Evidentally, the folks at CentOS changed that tradition, and now I have no idea where they put it. I am using CentOS 4.1 kernel version 2.6.9-11.EL. Anybody have any ideas where it might be?
|
|
|
12-05-2005, 12:09 AM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
I don't think it's installed by default (at least it isn't on any of my distros). This thread on the CentOS forums describes how to install it.
|
|
|
12-05-2005, 12:26 AM
|
#3
|
LQ Newbie
Registered: Nov 2005
Location: Cortlandt Manor, NY
Distribution: FreeBSD, RHEL, CentOS, Slack
Posts: 16
Rep:
|
right, you need to install the kernel source packages.
yum -i kernel-source
yum -i kernel-smp-source (if your using more then one cpu)
yum -i kernel-headers
I don't recall if that was the right syntax. I switch between redhat and centos at work, so I end up using yum and up2date. none the less "man yum". Look for the option to show all available packages |grep kernel.
but, yeah the will end up in /usr/src
|
|
|
All times are GMT -5. The time now is 04:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|