[ale] Install RPM file and specify install directory

Jim Popovitch jimpop at yahoo.com
Mon May 16 13:40:54 EDT 2005


On Mon, 2005-05-16 at 10:14 -0400, Chris Ricker wrote:
> On Sun, 15 May 2005, Jim Popovitch wrote:
> 
> > You will need the src rpm (SRPM) and you will need to use rpmbuild to
> > rebuild the package.  I think, but am not sure, that you will need to
> > also modify the .spec file to alter the target directory.  First check
> > the man page of rpmbuild, there might be a way to override it these
> > days.
> 
> you shouldn't need to rebuild just to get it into /usr/local instead of 
> /usr
> 
> rpm --relocate /usr=/usr/local

My understanding is that --relocate and --prefix only handle binary
files so they are not 100% guaranteed to not install on top of an
existing install.  One would think that --prefix would, but man rpm says
it only applies to binaries.  

-Jim P.




 




More information about the Ale mailing list