Re: [FC6] Yum install source <package-name> ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A.J. Bonnema wrote:
>  Does any one know how I can get to the sources of the source
>  repositories?
> 
>  I can not find any sources using "yum search" nor does kyum include
>  any sources in the available list.
> 
>  I also checked this list, but found only discussions on kernel
>  source (which appears to be different anyway).
> 
>  What I would like is to get the source from a regular package like
>  f.i.  xmlindent and then just browse it or compile it or whatever.
> 
>  P.S. Ofcourse I enable the source repository I am interested in,
>  but that did not help.....

If I understand your question, then you can get more or less what you
want using yumdownloader from the yum-utils package:

    $ yumdownloader --source kernel

That will download the .src.rpm for the kernel which you can then
rebuild using rpm or just unpack it to poke around or whatever you
like.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ever notice that even the busiest people are never too busy to tell
you just how busy they are?

Attachment: pgp64iOUr2gEA.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux