I have two rpm files, each containing a different version of the Java SDK. I want to install both, so I installed one, then the other, but when I installed the newest one, it overwrote the older one:
$ ls ./ibm-java* ./ibm-java-x86_64-sdk-6.0-16.15.x86_64.rpm ./ibm-java-x86_64-sdk-8.0-2.0.x86_64.rpm $ sudo yum install ibm-java-x86_64-sdk-6.0-16.15.x86_64.rpm ... $ ls /opt/ibm/ java-x86_64-60 $ sudo yum install ibm-java-x86_64-sdk-8.0-2.0.x86_64.rpm ... $ ls /opt/ibm/ java-x86_64-80
Is there a way to install both? I looked at the options for yum but didn't see anything relevant.