I need to install gpgme03 and have gpgme10 installed already. Some programs need one and some the other. How can I install the gpgme03 RPM and specify its install to a directory like /usr/local so that it doesn't conflict with packages from the newer gpgme? Thanks.
Trey, On Sunday 15 May 2005 17:58, Trey Sizemore wrote:
I need to install gpgme03 and have gpgme10 installed already. Some programs need one and some the other. How can I install the gpgme03 RPM and specify its install to a directory like /usr/local so that it doesn't conflict with packages from the newer gpgme?
In that case, I'd say find a tarball of the version you need and install it manually, outside the RPM system. Then you'll have run the software that requires the old version with a modified / non-standard LD_LIBRARY_PATH environment variable setting.
Thanks.
Randall Schulz
Randall R Schulz wrote:
Trey,
On Sunday 15 May 2005 17:58, Trey Sizemore wrote:
I need to install gpgme03 and have gpgme10 installed already. Some programs need one and some the other. How can I install the gpgme03 RPM and specify its install to a directory like /usr/local so that it doesn't conflict with packages from the newer gpgme?
In that case, I'd say find a tarball of the version you need and install it manually, outside the RPM system.
Then you'll have run the software that requires the old version with a modified / non-standard LD_LIBRARY_PATH environment variable setting.
You may be able to relocate it, I used this to install a second set of fonts, without disrupting the current font set. rpm -i --relocate James W.
On Tue, 2005-05-17 at 12:21 -0400, James Wright wrote:
Randall R Schulz wrote:
Trey,
On Sunday 15 May 2005 17:58, Trey Sizemore wrote:
I need to install gpgme03 and have gpgme10 installed already. Some programs need one and some the other. How can I install the gpgme03 RPM and specify its install to a directory like /usr/local so that it doesn't conflict with packages from the newer gpgme?
In that case, I'd say find a tarball of the version you need and install it manually, outside the RPM system.
Then you'll have run the software that requires the old version with a modified / non-standard LD_LIBRARY_PATH environment variable setting.
You may be able to relocate it, I used this to install a second set of fonts, without disrupting the current font set.
rpm -i --relocate
James W.
Look at the headers (using less) of the rpm to see whether you can relocate it: =========================== Information ================================ Name : kdebase3 Relocations: (not relocatable) And also look at how the files were packaged, if the files are packaged with a preceding / then you most likely cannot relocate them. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
Ken Schneider wrote:
On Tue, 2005-05-17 at 12:21 -0400, James Wright wrote:
Randall R Schulz wrote:
Trey,
On Sunday 15 May 2005 17:58, Trey Sizemore wrote:
I need to install gpgme03 and have gpgme10 installed already. Some programs need one and some the other. How can I install the gpgme03 RPM and specify its install to a directory like /usr/local so that it doesn't conflict with packages from the newer gpgme?
In that case, I'd say find a tarball of the version you need and install it manually, outside the RPM system.
Then you'll have run the software that requires the old version with a modified / non-standard LD_LIBRARY_PATH environment variable setting.
You may be able to relocate it, I used this to install a second set of fonts, without disrupting the current font set.
rpm -i --relocate
James W.
Look at the headers (using less) of the rpm to see whether you can relocate it:
=========================== Information ================================
Name : kdebase3 Relocations: (not relocatable)
And also look at how the files were packaged, if the files are packaged with a preceding / then you most likely cannot relocate them.
"alien -t
On 5/17/05, Sid Boyce
Ken Schneider wrote:
On Tue, 2005-05-17 at 12:21 -0400, James Wright wrote:
Randall R Schulz wrote:
Trey,
On Sunday 15 May 2005 17:58, Trey Sizemore wrote:
I need to install gpgme03 and have gpgme10 installed already. Some programs need one and some the other. How can I install the gpgme03 RPM and specify its install to a directory like /usr/local so that it doesn't conflict with packages from the newer gpgme?
In that case, I'd say find a tarball of the version you need and install it manually, outside the RPM system.
Then you'll have run the software that requires the old version with a modified / non-standard LD_LIBRARY_PATH environment variable setting.
You may be able to relocate it, I used this to install a second set of fonts, without disrupting the current font set.
rpm -i --relocate
James W.
Look at the headers (using less) of the rpm to see whether you can relocate it:
=========================== Information ================================
Name : kdebase3 Relocations: (not relocatable)
And also look at how the files were packaged, if the files are packaged with a preceding / then you most likely cannot relocate them.
"alien -t
" to produce a .tgz file. "tar zxfv <file>.tgz -C /usr/local", then you have to somehow manipulate the stuff, perhaps with a script that calls the binary, like "LD_PRELOAD="/usr/local/usr/lib/libaaa.so.b /usr/local/usr/lib/libxxx.so.y" <binary> And hope it works. It's been a long time since I messed with such things - getting libc binaries to work in a glibc environment. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
He can also use rpm2cpio and pipe it to cpio to extract the package in the directory where he executes the command, i.e; /usr/local, /opt, etc. If in /usr/local and you execute the following, rpm2cpio pkg_name | cpio -i -d, it will create another usr directory under /usr/local: /usr/local/usr. So best bet is to do this in a temp dir and move the files where you want them manually, then script to the older binary like above. So many ways to skin a cat :-) BTW, the ---relocate option from man rpm: --relocate OLDPATH=NEWPATH For relocatable binary packages, translate all file paths that start with OLDPATH in the package relocation hint(s) to NEWPATH. This option can be used repeatedly if several OLDPATH's in the package are to be relocated. Does the gpgme package allow for itself to be relocated?
participants (6)
-
James Wright
-
John Scott
-
Ken Schneider
-
Randall R Schulz
-
Sid Boyce
-
Trey Sizemore