Using YUM to install core-source

Rick Stevens rstevens at vitalstream.com
Tue May 16 17:53:11 UTC 2006


On Tue, 2006-05-16 at 18:37 +0100, Stuart Sears wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rick Stevens wrote:
> > On Tue, 2006-05-16 at 17:24 +0100, Stuart Sears wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Bruce Beare wrote:
> >>> (resend with corrected from: address)
> >>>  
> >>>  I modified /etc/yum.repos.d/fedora-core.repo and set the core-source repo to enabled.
> >>> I likewise did the same for updatte-source. I then would expect to be able to do something
> >>> like
> >>>     yum install kernel-source
> >>> or yum install kernel-src
> >>>  
> >>> Unfortunately, the kernel source doesn't show -- and a 
> >>>    yum list all
> >>> doesn't show anything from the core-source or update-source.
> >> does this help?
> >>
> >> http://www.redhat.com/archives/rhl-devel-list/2006-February/msg00841.html
> > 
> > As Stuart says, yumdownloader knows how to use that repo, but not yum.
> > I generally go directly to one of the repos (I prefer kernel.org) and
> > download the kernel sources directly using anonymous FTP or an http
> > download.  For example, the kernel source for the latest FC5 is
> > available at:
> 
> in fact, having read the thread I referred to in more depth, to get the
> sources via yum(downloader), you do this:
> 
> yum install yum-utils
> enable the source repos in /etc/yum.repos.d
> yumdownloader --destdir /some/where --source kernel

That's correct.  I tend to not use yumdownloader but the anon FTP
or http method I mentioned.  However that's purely a personal
preference.  Use that which makes you comfortable.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-        God is real...........unless declared integer or long       -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list