Installing all packages to a single, non-default location

Use this procedure if you want to install all compiler packages to a single non-default location. For example, rather than installing all packages into the default directory /opt/ibmcmp/, you could install them to a directory of your choice, such as /home/mydirectory/.

About this task
To install all compiler packages to a single non-default directory, you have the following options:
  • Use the xlc_install utility. This option is recommended if you want to install all compiler packages to a single, non-default directory.
    If the product CD is mounted at the /cdrom directory in the system, issue the following commands:
      cd /cdrom
      ./xlc_install -prefix installation_path
    For additional arguments that you can specify for xlc_install, see xlc_install options.
  • Use the rpm utility. Ensure that your current working directory contains all of the packages for IBM® XL C/C++ for Linux®, V11.1 and no other RPM packages. From your current working directory, use the following command:
      rpm -ivh *.rpm --prefix installation_path 
In the preceding commands, installation_path is a directory that is not /opt/ibmcmp/.
Note: The IBM Eclipse Help System package, xlhelp.com, is installed in the default location regardless of whether you are installing the remaining packages to the default location or to a non-default location.