On Wed, Sep 03, 2003 at 10:34:40AM -0500, Distribution Lists wrote:
> Is there a easy way to install a RPM in a definable location, ie
> /usr/local rather than /usr
> 
> I read the maxrpm documentation...surely it must be easier than that

I'm looking at the new book "Red Hat RPM Guide"  from redhat press.
Look at the --prefix and --relocate options.
e.g.  
# rpm -U --prefix /new/directory package.rpm
# rpm -U --relocate /old/directory=/new/directory package.rpm

Not all packages allow relocations.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to