Example: Installation to multiple non-default directories

Note:
In the example in this section, XL Fortran V10.1 packages are installed in groups of packages, in different directories. Table 3 lists the package groups that must be installed together. The variables that represent each of these directories are:

In order to avoid dependency errors during installation of XL Fortran V10.1, issue the following commands in the order given:

  rpm -ivh xlsmp.msg.rte-1.6.1-0.ppc64.rpm --prefix xlsmprt_path
  rpm -ivh xlsmp.rte-1.6.1-0.ppc64.rpm --prefix xlsmprt_path
  rpm -ivh xlsmp.lib-1.6.1-0.ppc64.rpm --prefix xlsmprt_path
  rpm -ivh xlmass.lib-4.3.1-0.ppc64.rpm --prefix xlmass_path
  rpm -ivh xlf.msg.rte-10.1.0-0.ppc64.rpm --prefix xlrte_path
  rpm -ivh xlf.rte-10.1.0-0.ppc64.rpm --prefix xlrte_path
  rpm -ivh xlf.rte.lnk-10.1.0-0.ppc64.rpm --prefix xlrte_path
  rpm -ivh xlf.lic-10.1.0-0.ppc64.rpm --prefix lic_path
  rpm -ivh xlf.lib-10.1.0-0.ppc64.rpm --prefix xlcmp_path
  rpm -ivh xlf.cmp-10.1.0-0.ppc64.rpm --prefix xlcmp_path

The sample programs and product documentation packages have no dependency on other RPM packages and can be installed in any order using the following commands:

  rpm -ivh xlf.help-10.1.0-0.ppc64.rpm --prefix doc_path
  rpm -ivh xlf.samples-10.1.0-0.ppc64.rpm --prefix smpls_path
Note:
When configuring the relocated compiler, use the xlf_configure utility to configure the compiler. Do not use the new_install utility.