  | | | Using YUM to install core-source | Using YUM to install core-source 2006-05-16 - By Rick Stevens
Back 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@(protected) - - VitalStream, Inc. http://www.vitalstream.com - - - - God is real...........unless declared integer or long - -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |