[ale] Can I install an rpm and specify install path?

James P. Kinney III jkinney at localnetsolutions.com
Sun Jan 30 21:47:57 EST 2005


On Sun, 2005-01-30 at 19:07 -0500, Trey Sizemore wrote:
> I've got a source rpm of gpgme-0.3 that I want to install.  However, I
> don't want it to conflict with the gpgme-0.9 that I already have
> installed.  Is it possible for me to install (I assume using rpmbuild
> --rebuild xxx.src.rpm) the package while specifying a path that won't
> conflict with the installed gpgme?

you can either edit the spec file to put it somewhere else (probably not
what you want) or you can do the usual rpm_build and install it with 
rpm -ivh --relocate /usr/bin=/usr/local/bin /usr/lib=/usr/local/lib
etc...

Dig through both binaries with rpm -ql (or rpm -qpl on the uninstalled
one) to make sure what it's going to put and where.

Be aware of any path issues you may have. /usr/local/bin is usually
before /usr/bin.
> 
> Thanks.
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 
> !DSPAM:41fd7733262811195711159!
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list