[Top][All Lists]

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

Re: info about redhat

From: Mark D. Baushke
Subject: Re: info about redhat
Date: Tue, 15 Jul 2003 09:08:23 -0700

Hi Geoff,

Your points are valid. Thanks for the corrections!

        -- Mark

Geoff Beier <address@hidden> writes:

> Mark D. Baushke wrote:
> > You may build your own from sources:
> > Fetch a copy of the .src.rpm file from the downloads page:
> >
> > and then rebuild it with the following commands:
> >   sudo rpm --rebuild
> >   sudo rpm -Fvh /usr/src/redhat/RPMS/i386/
> >
> I don't want to pick nits, but you *really* shouldn't build as the
> superuser. Also, current versions of rpm have moved the building to
> rpmbuild; --rebuild doesn't work by default as a switch to rpm on
> Redhat 8 or 9. To build as a normal user, simply decide where you want
> to build your RPMs. I chose a directory called "rpmbuild" in my home
> directory. (The following steps assume you're currently in your home
> directory.)
> 1. Create the working directory structure:
> mkdir -p rpmbuild/BUILD rpmbuild/SOURCES rpmbuild/SPECS rpmbuild/SRPMS
> rpmbuild/RPMS rpmbuild/RPMS/i386
> 2. Configure RPM:
> echo "%_topdir $HOME/rpmbuild" >> $HOME/.rpmmacros
> 3. Execute rpmbuild as a normal user:
> rpmbuild --rebuild
> 4. Install the rpm as the super user:
> sudo rpm -Fvh rpmbuild/RPMS/i386/
> Regards,
> Geoff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]