[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Rpm src.rpm
- Subject: [ale] Rpm src.rpm
- From: jasonday at worldnet.att.net (Jason Day)
- Date: Mon Apr 12 13:11:51 2004
- In-reply-to: <[email protected]>
- References: <07fa01c42098$86353bd0$2a01a8c0@yoda> <[email protected]>
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