[CentOS] downloading an src.rpm?

Johnny Hughes johnny at centos.org
Wed Sep 12 10:47:05 UTC 2007


Alexander Dalloz wrote:
> Dave schrieb:
>> Hello,
>>    I've got the rpmforge repo configured as a 3rd party repo. There's an
>> rpm that i'd like to get the coresponding src.rpm, install it, and
>> recompile it. How would i do this with yum?
>> Thanks.
>> Dave.
> 
> yum install yum-utils (from extras)
> yum-downloader <package>
> 

That only works if the SourceRPM is in the metadata for the repo in
question.

I do not know if RPMForge includes their SRPMS in the metadata ...
CentOS does include our SRPMS in our metadata.

Thanks,
Johnny Hughes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20070912/8e22c932/signature.bin


More information about the CentOS mailing list