[aclug-L] Re: Question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 2003-10-01 at 22:39, Ivan wrote:
> this probably belongs on teh help list, but is there any docs on how
> to install from SRPMs or do I need ot grab the precomplied stuff?
If you just want to compile from the srpm, you don't have to install the
Up through Redhat 7.x (maybe 8.x, I never installed 8.x), the command
would have been `rpm --rebuild <srpm file name>`.
With v9.x, the build functionality of rpm was split off into the
`rpmbuild` command so you type `rpmbuild --rebuild <srpm file name>`.
Either way, rpm will extract the source to /usr/src/redhat/BUILD,
configure and build it according to the spec file in the srpm and create
a binary package (or packages, depends on the spec file) in
/usr/src/redhat/RPMS/<arch>. On x86 based systems <arch> is usually
"i386". You can just look at the output of the rpm build command at the
end; it will tell you what rpm files it created and where they are.
Noah Romer | "Lo! Men have become the tools of their tools."
klevin@xxxxxxxxxx | -- Henry David Thoreau
PGP key available |
by finger or email |
-- This is the discussion@xxxxxxxxx list. To unsubscribe,