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

Re: Installion Questions



On Tue, 2004-10-12 at 15:54, Piko Neal wrote:
> 1.  What is the appropriate way to install a .src.rpm and a tar.gz?

For src.rpm:s I do "rpmbuild --rebuild --clean filename.src.rpm" logged
in as an ordinary user (you have to set up a .rpmmacros file and set up
a file tree in your home directory, http://freshrpms.net/docs/fight/
will give you some hints.) I then do "rpm -Uvh
~/redhat/RPMS/i386/file.i386.rpm" or whatever the created file is named.

For tar.gz it is a bit more complicated. First untar with "tar xvfz
filename.tar.gz" (NOTE, first check with "tar tvfz filename.tzr.gz" if
the files will be unpacked in the current directory, or a new one, if
they unpack in the current directory, create a directory and cd into it
and unpack there) Then go down in this directory and look for files
named INSTALL, README, or something like that. Usually the steps are;
configure, make, and make install, and the files usually end up in
/usr/local/some_directory.

Lars
-- 
Lars E. Pettersson <lars homer se>
http://www.sm6rpz.se/


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