Red HatThis forum is for the discussion of Red Hat Linux.
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.
I've 2.4.20-20.9 in good working condition. But since I installed this using
the 'downloadable' version, it didn't install the 'source', in /usr/src/redhat.
I do've the rpm for the source kernel-2.4.20-20.9.src.rpm
How can I unpack this rpm to just copy all necessary files( to compile
several other programs( VPN related ) ) and I don't want a kernel
installation again.
Thanks.
Kramer. "serenity now, insanity later"
Last edited by shankariyer; 11-23-2003 at 08:10 PM.
Just install kernel-2.4.20-20.9.src.rpm - your kernel won't be reinstalled, it only unpacks the kernel sources into /usr/src/redhat.
Dave.
P.S. I would link the folder that contains the source when you've installed it to /usr/src/linux - that's where standard installers look for the kernel sources. YMMV.
To install type cmd rpmbuild --rebuild and this will build into /usr/src/redhat, if u wanted to install as rpm then u need to download the version that says kernel-source-2.4.20-20.9.i386.rpm. U will install this in the following manner rpm -ivh kernel-source-2.4.20-20.9.i386.rpmand this will build into /usr/src/redhat as well.
All AMD Athlon, K6s, Intel 386s, 486s, Pentiums, Via C3s etc. are all 386 class processors (any PC, really). That means that any RPMs, source etc for i386 should run on any of these chips. Pentium 2s, Athlons, Durons are all i686 class chips, so these can run code for i386, i484, i586 and i686. The advantage in using i686 binary RPMs is that they have been optimised for 686 class machines like P2s and Athlons (but won't run on earlier machines).
This doesn't matter for the kernel-source, because it (usually) isn't specific to any one class of machine (the optimisation is done at compile time).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.