Installing XL C/C++ V8.0 to a single non-default location

If you want to try out a new update of the compiler before you remove the existing one from the system, you must install the new update to a non-default location. After you have verified that you want to use the new update, you will probably want to install it in the default location by performing the following tasks:

  1. Remove the new update from the non-default location.
  2. Remove the previous update from the default location.
  3. Install the new update to the default location.
Note:
If you use the xlc_install utility to install the new update to the default location, it will remove the previous update for you.

You cannot us the xlc_install utility if you want to install XL C/C++ V8.0 in a non-default location. The xlc_install utility installs XL C/C++ V8.0 in the /opt/ibmcmp/ (default) directory.

You must install XL C/C++ V8.0 in a non-default location in order to meet both of the following criteria:

If your current working directory contains all of the packages for XL C/C++ V8.0 and no other RPM packages, you can use the following command to install all XL C/C++ V8.0 packages to a single non-default directory:

   rpm -ivh *.rpm --prefix installation_path
Note:
When configuring the relocated compiler, use the vac_configure utility to configure the compiler. Do not use the new_install utility.