[ale] Rpm src.rpm

Jason Day jasonday at worldnet.att.net
Mon Apr 12 13:11:51 EDT 2004


On Mon, Apr 12, 2004 at 10:36:19AM -0400, Jonathan Glass wrote:
> 
> > Can someone show me how to install one of these files
> > XXXXXXXX-X.X.X-X.src.rpm_______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> >
> 
> # rpm -ivh x.src.rpm <- install the src files
> # cd /usr/src/redhat/SPECS
> # rpmbuild x.spec -bb <- compile the source files into an rpm file
> # cd /usr/src/redhat/RPMS/i386
> # rpm -ivh x.i386.rpm <- install the newly compiled rpm file

A faster way:

rpmbuild --rebuild x.src.rpm

This will create the source rpm in $RPMHOME/SOURCES and the binary in
$RPMHOME/RPMS/$ARCH.

Jason
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9



More information about the Ale mailing list