using yum to get SRPMS

Panu Matilainen pmatilai at welho.com
Fri Feb 25 14:19:52 UTC 2005


On Fri, 25 Feb 2005, Hans de Goede wrote:

> A small question (just for convience) can yum be used to install SRPMS?
> I've read the man page but it doesn't say anything about this.

No, yum doesn't deal with SRPMS. The information is in the metadata 
however ... http://laiskiainen.org/repoquery/repoquery.py

Then you can do things like
[pmatilai at chip ~]$ repoquery.py --source --location yum
http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/core/3/i386/os/SRPMS/yum-2.1.11-3.src.rpm

..which you can turn into
rpm -ivh `repoquery.py --source --location <package>` to install src.rpm's 
:)

 	- Panu -




More information about the fedora-extras-list mailing list