[Yum] Yum and srpms

Panu Matilainen pmatilai at laiskiainen.org
Mon Oct 24 18:33:08 UTC 2005


On Mon, 2005-10-24 at 20:12 +0200, Igor Jagec wrote:
> Ignacio Vazquez-Abrams kaže:
> 
> > You can use yumdownloader from yum-utils to do that, but it requires
> > that the repo maintainer run createrepo against the SRPMs and so may be
> > a problem at the repo level.
> 
> There are some frontend for resolving dependencies for rpmbuild program?
> :) I didn't know... I downloaded yum-utils so I'll try to play with it.
> 
> BTW I meant for the tool for just downloading srpm package, something like:
> 
> # up2date --get-source kernel
> 
> But for Yum, of course :)

"yumdownloader --source <source-package-name>" will do just that,
provided that the SRPMS are included in the repository metadata. For
Fedora they are included in the default config for the original FC<n>
release but for updates you'll need to add the SRPMS repository to
yum.repos.d by yourself.

The other related utility is yum-builddep which installs build
dependencies for given source package.

	- Panu -




More information about the Yum mailing list