how to install source packages?
stickster at gmail.com
Sun Jan 10 15:58:06 UTC 2010
On Sat, Jan 9, 2010 at 12:26 PM, Jud Craft <craftjml at gmail.com> wrote:
> I've enabled the updates-source and fedora-source repositories in
> PackageKit, but how do I, for example, install the source package for
> A packagekit search for Cairo returns nothing from the updates-source
> or fedora-source repositories, and nothing called "cairo-source" or
> anything of the like. Just binary cairo and cairo-devel.
> In short, how do I install source packages? Have I missed an obvious
> step or is it really unintuitive?
The easiest way to do this IME is:
1. Ensure 'yum-utils' is installed
2. Run 'yumdownloader --source cairo'
3. 'rpm -ivh cairo-*.src.rpm'
The resulting .spec file and source will be under ~/rpmbuild/ .
More information about the devel