Installing packages to multiple, nondefault locations

Use this procedure in highly specialized situations in which you want to install groups of compiler packages to multiple, different locations. For example, you could install all the compiler library packages to one directory, the runtime environment packages to another directory, and so on. However, certain packages must be installed together in the same directory.

About this task

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/ibm/ or /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, nondefault locations
Package Name Package Description Rules for installation to a nondefault location
xlsmp.msg.rte IBM® SMP messages package 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 IBM SMP runtime package
libxlsmp-devel IBM SMP static library package
libxlmass-devel IBM Mathematical Acceleration Subsystem (MASS) package Any location. For the remainder of this document, the name xlmass_path is used to refer to this location.
vacpp.rte IBM XL C/C++ runtime package 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.

xlc-eval-license1

IBM XL C/C++ license package for the evaluation copy Any location. For the remainder of this document, the name lic_path is used to refer to this location.
xlc-license2 IBM XL C/C++ license package for XL C/C++ for Linux, V13.1
libxlc-devel IBM XL C/C++ compiler libraries package 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.
xlc IBM XL C/C++ compiler package
Notes:
  1. Only included in the evaluation copy of the XL C/C++ for Linux compiler.
  2. Only included in XL C/C++ for Linux, V13.1. If you are installing a PTF, ignore the xlc-license package.
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 nondefault directory:
   rpm -ivh package --prefix  package_installation_path
where package_installation_path is a directory other than /opt/ibm/ or /opt/ibmcmp/, and corresponds to one of the appropriate paths listed in Table 1.


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us