Re: how to install source packages?

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

 



On Sat, Jan 9, 2010 at 12:26 PM, Jud Craft <craftjml@xxxxxxxxx> wrote:
> I've enabled the updates-source and fedora-source repositories in
> PackageKit, but how do I, for example, install the source package for
> Cairo?
>
> 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/ .

-- 
Paul
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux