Re: [AD] Todo?

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, Dec 19, 1999 at 11:18:49AM +0100, Vincent Penquerc'h wrote:
> On Sun, Dec 19, 1999 at 02:22:00AM +0000, George Foot wrote:
> >     This is the Right way to do it; we get working upgrades,
> >     a correct RPM database, etc.  The only problem is that it's
> >     less simple to install now; it's really not very
> >     complicated, but for people who only ever install binary
> >     RPMs it might be a bit more of a problem because it's a
> >     break from what, for them, is the norm.
> 
> Sorry to be intrusive on a subject I don't know, but ...
> What are the differences between installing an RPM and an SRPM ?

To install an RPM you say `rpm -hiv ...', which installs the
binaries in the RPM.  There are several things you can do with
an SRPM -- you can install it just like that, which puts files
in various subdirectories of /usr/src/redhat/... (e.g. SOURCES
and SPECS), from which you can build binary RPMs which you can
then install as normal.  Or you can just say `rpm --rebuild
....', in which case it installs the SRPM, creates the binary
RPMs, and then uninstalls the SRPM again.  After that you rerun
`rpm' as above to install the binary RPMs.

George



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/