Re: installing source rpm packages (.src.rpm) via yum and yumex?

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

 



On Wed, 6 Feb 2008, Todd Zullinger wrote:

> Aaron Konstam wrote:
> > yum will not install source rpms as far as I know. You can download the
> > src rpm: x.src.rpm
> > then run: rpm -i x.src.rpm
> > which will put a file : x.spec in /usr/src/redhat/SPECS
> > Then run: rpmbuild -bb x.spec
> > which will put a rpm: x.rpm in /usr/src/redhat/RPMS
> > That rpm can be installed as usual: rpm -i x.rpm
>
> And, for what's probably the zillionth time on this list, it is never
> desirable to install or build source rpms as root.  Instead, install
> and build as a normal user.  You can use the handy rpmdev-setuptree
> script from the rpmdevtools package to create the directory structure
> and config file needed for this.  See the draft building packages
> guide for more info:
>
> http://fedoraproject.org/wiki/Docs/Drafts/BuildingPackagesGuide

and ...

http://www.crashcourse.ca/wiki/index.php/Fedora_Cookbook#Package_management_with_yum_and_rpm

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

Home page:                                         http://crashcourse.ca
Fedora Cookbook:    http://crashcourse.ca/wiki/index.php/Fedora_Cookbook
========================================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux