LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-23-2003, 08:08 PM   #1
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Rep: Reputation: 30
Kernel source installation.


Hello,

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.
 
Old 11-24-2003, 12:25 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

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.
 
Old 11-24-2003, 05:40 PM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

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.

chow
 
Old 11-30-2003, 06:40 PM   #4
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
i386 or i686

I'm not clear on this...


[root@localhost Java]# uname -mpi
i686 i686 i386


How can my machine be of i686 and hardware-platform be i386 ??

Which kernel-source should I download/install ?

Thanks,
Kramer.
 
Old 12-01-2003, 10:40 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi again.

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).

Dave
 
  


Reply


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
kernel-source installation lunar-blue Linux - Software 3 08-03-2005 06:39 PM
Where Can I Find Kernel Source after Installation s74b Linux - Software 4 11-19-2004 02:59 AM
Kernel Source Installation permanooB Linux - Newbie 1 10-24-2004 03:21 PM
kernel-source installation zebra5 Linux - Software 2 10-31-2003 06:46 PM
Kernel 2.4.20-20.9 Source Installation ja_nch Red Hat 3 09-03-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:38 AM.

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