Installing XL C/C++ to a nondefault location (SLES, RHEL, and CentOS)
Use this procedure if you want to allow each version to use the runtime environment that was shipped with it. This option is recommended if you want to phase a migration to IBM® XL C/C++ for Linux, V13.1.4.
About this task
To maintain multiple versions of IBM XL C/C++ for Linux in separate locations on the same system, you will need to install IBM XL C/C++ for Linux, V13.1.4 to a separate location from all other versions of IBM XL C/C++ for Linux. Use this procedure if you want to install all compiler packages to a single nondefault location.
Procedure
To install all compiler packages to a single nondefault
directory, use the rpm utility. Ensure
that your current working directory contains all of the packages for IBM XL C/C++ for Linux, V13.1.4 and no other RPM packages. From your current working directory,
issue the following command:
rpm -Uvh *.rpm --prefix installation_path
where installation_path is a directory that is not /opt/ibm/.Results
The compiler is installed in the installation_path directory.