Linux - GeneralThis 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.
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.
Distribution: RedHat Enterprise Linux (Kernel 2.6)
Posts: 42
Rep:
kernel code
hello friends..
I am using RedHat Linux (kernel 2.6)(Evaluation Version)
Can anyone tell me, where can i have an access to its kernel source code.. Is it installed along or i need to install it manually again from somewhere else??
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
The source to the kernel is not installed by default, please review the RELEASE-NOTES found on the installation media (first CD or the DVD) for how to get the kernel source installed and prepared for use.
The basic steps are to download/install via up2date then prep the kernel for development/patching/compiling. Please make sure you have install the kernel development packages as instructed in the on-line manuals. The Release Notes can also be found here;
Distribution: RedHat Enterprise Linux (Kernel 2.6)
Posts: 42
Original Poster
Rep:
The procedure specified here to install the kernel source requires our linux system to be connected to the internet so that it cam download the code from redhat.com.
Isnt the source code of kernel available on any of the installation cd's of linux ?? I am using - RedHat (Kernel 2.6) (version 4) (Enterprise Edition)
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Quote:
Originally Posted by ashley_31
The procedure specified here to install the kernel source requires our linux system to be connected to the internet so that it cam download the code from redhat.com.
Isnt the source code of kernel available on any of the installation cd's of linux ?? I am using - RedHat (Kernel 2.6) (version 4) (Enterprise Edition)
Yes, it is on one of the SRPMS CDs or on the SRPMS DVD, if you puchased a standard RHEL installation package the media should have been included.
Please note Red hat does use the kernl.org source as a base but backports patches and applies additional "fixes and tweaks" to the vanilla kernel source. While the vanilla kernel.org source will work just fine with a RHEL 4 installation it is not supported by Red Hat.
This is both the name and where to get the file. If you have paid for support then use it and request the update and source media packages.
I used this ftp to download and install the rpm.
But after downloading, when i tried to install it, it gave me a message " This is a source RPM , hence cannot be installed with system - config packages. "
Please, help me out..
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Yep this is want you want the kernel source and the message is correct, the binary installer cannot install source packages, as root or equilivent do something like (from the console or xterm session);
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.