I need to install a older version of gnupg but not delete the current version of gnup2 on RHEL 6.4. What would be the correct syntax to install this? Tried to install and relocate it and still getting conflicts.
aXXXXXX:root# rpm -ivh /root/rpmbuild/RPMS/x86_64/gnupg-1.4.16-1.x86_64.rpm
Preparing... ########################################### [100%]
file /usr/bin/gpg from install of gnupg-1.4.16-1.x86_64 conflicts with file from package gnupg2-2.0.14-4.el6.x86_64
file /usr/bin/gpg-zip from install of gnupg-1.4.16-1.x86_64 conflicts with file from package gnupg2-2.0.14-4.el6.x86_64
rpm --prefix=/opt -ivh gnupg-1.4.16-1.x86_64.rpm
error: package gnupg is not relocatable