[K12OSN] How to install from .src.rpm

Dan Young dan_young at parkrose.k12.or.us
Wed Jan 26 22:41:32 UTC 2005


On Wed, 2005-01-26 at 14:44 -0600, Les Mikesell wrote:
> On Wed, 2005-01-26 at 13:01, Jim Kronebusch wrote:
> > > You need to build the binary RPM from the .src.rpm. Something like:
> > > 
> > > rpmbuild --rebuild blah.src.rpm
> > > 
> > > I think you will find the resulting binary rpm in 
> > > /usr/src/redhat/RPMS 
> > > or something similar. Don't know if that changes for Fedora. On my 
> > > Mandrake box it's /usr/src/RPM/RPMS. Install the resulting 
> > > binary RPM in 
> > > the usual way.
> > 
> > I tried that but YDL says that rpmbuild is not a recognized command.
> > Does YDL use a little different rpm package or do I need to install
> > something else to obtain rpmbuild like a devel package?
> 
> Earlier versions of rpm had the --rebuild function included in the
> rpm program itself so you might find it there.  The current fedora
> version has been split into rpm and rpmbuild as separate commands.

...which is part of the rpm-build package, which you may need to
install. You'll probably need gcc and friends also.

yum groupinstall 'Development Tools'

-- 
Dan Young <dan_young at parkrose.k12.or.us>
Parkrose School District




More information about the K12OSN mailing list