Installing packages to multiple, non-default locations

For highly specialized situations only, you might need to install different packages to different locations.
Note: If you want to install packages in different subdirectories, do not install any packages in the /opt/ibmcmp/ directory.

Table 1 provides information about which packages must be installed together in the same directory and which can be installed in any directory.

Table 1. Rules for installing packages to multiple, non-default locations
Package Name Package Description Rules for installation to a non-default location
xlsmp.msg.rte XL SMP runtime messages All XL SMP packages must be installed in the same location. For the remainder of this document, the name xlsmprt_path is used to refer to this location.
xlsmp.rte XL SMP runtime dynamic libraries
xlsmp.lib XL SMP runtime static libraries
xlmass.lib IBM Mathematical Acceleration Subsystem (MASS) libraries Any location. For the remainder of this document, the name xlmass_path is used to refer to this location.
vacpp.rte XL C/C++ runtime environment All XL C/C++ runtime packages must be installed in the same location. For the remainder of this document, the name xlrte_path is used to refer to this location.
vacpp.rte.lnk XL C/C++ runtime environment links
vac.lic XL C/C++ license Any location. For the remainder of this document, the name lic_path is used to refer to this location.
vac.lib XL C compiler libraries All XL C/C++ compiler and library packages must be installed in the same location. For the remainder of this document, the name xlcmp_path is used to refer to this location.
vac.cmp XL C compiler files
vacpp.lib XL C++ compiler libraries Must be installed in the same location as the other compiler and library packages above.
vacpp.cmp XL C++ compiler files
vacpp.help XL C/C++ documentation Any location (optional). For the remainder of this document, the name doc_path is used to refer to this location.
vacpp.samples XL C/C++ samples Any location (optional). For the remainder of this document, the name smpls_path is used to refer to this location.
To install a relocatable RPM package to any location other than the default location, issue the following command for each group of packages you want to install to a non-default directory:
   rpm -ivh package --prefix  package_installation_path
where package_installation_path is a directory other than /opt/ibmcmp/, and corresponds to one of the appropriate paths listed in Table 1.