Installing XL C/C++ to a nondefault location (SLES and RHEL)
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.3.
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.3 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.3 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 /opt/ibm/ directory under chroot.
To use the compiler under chroot, issue the following chroot command
to enter the root directory of chroot:
chroot </path/to/chroot_dir>