  | | | Using YUM to install core-source | Using YUM to install core-source 2006-05-16 - By Stuart Sears
Back -- --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
Regards
Stuart - -- Stuart Sears RHCA RHCX To err is human, to forgive is Not Company Policy. -- --BEGIN PGP SIGNATURE-- -- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFEag3bamPtx1brPQ4RAlKSAJwLlzaXj3+/sCjgdYalRgIoSLj+lQCdFiPA VSSPiV1y+hCkPQ+4BmfUrqM= =AkFP -- --END PGP SIGNATURE-- --
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ 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
|
|
 |