Example: Installing XL C/C++ to multiple non-default directories

About this task

In order to avoid dependency errors during installation of IBM® XL C/C++ for Linux®, V11.1 issue the following commands in the order given:

  rpm -ivh xlsmp.msg.rte-2.1.0.0-$B.ppc64.rpm --prefix $SMPpath
  rpm -ivh xlsmp.rte-2.1.0.0-$B.ppc64.rpm --prefix $SMPpath
  rpm -ivh xlsmp.lib-2.1.0.0-$B.ppc64.rpm --prefix $SMPpath
  rpm -ivh xlmass.lib-6.1.0.0-$B.ppc64.rpm --prefix $MASS_path
  rpm -ivh vacpp.rte-11.1.0.0-$B.ppc64.rpm --prefix $RTEpath
  rpm -ivh vacpp.rte.lnk-11.1.0.0-$B.ppc64.rpm --prefix $RTEpath
  rpm -ivh vac.lic-11.1.0.0-$B.ppc64.rpm --prefix $LICpath
  rpm -ivh vac.lib-11.1.0.0-$B.ppc64.rpm --prefix $CMPpath
  rpm -ivh vac.cmp-11.1.0.0-$B.ppc64.rpm --prefix $CMPpath
  rpm -ivh vacpp.lib-11.1.0.0-$B.ppc64.rpm --prefix $CMPpath
  rpm -ivh vacpp.cmp-11.1.0.0-$B.ppc64.rpm --prefix $CMPpath
Note: $B is the build number of the package currently installed on your system.

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 vacpp.man-11.1.0.0-$B.ppc64.rpm --prefix $MANPAGpath
 rpm -ivh vacpp.samples-11.1.0.0-$B.ppc64.rpm --prefix $SAMPpath
  rpm -ivh vacpp.help.pdf-11.1.0.0-$B.ppc64.rpm --prefix $DOCpath
Note: $B is the build number of the package currently installed on your system.