Using installp

You can install IBM® Open XL C/C++ directly from the command line using the AIX® command installp. After the installation is completed, the installation output is written to a log file.

Procedure

Run the the installp command as follows:
installp -aXYgd install_images_location -e logfile fileset_names

The following example installs all available compiler filesets in the /LOCATION_OF_EXTRACTED_TARBALL/usr/sys/inst.images source directory to the default locations, as specified in Product fileset reference, and writes an installation log file to /tmp/install.log.

installp -aXYgd /LOCATION_OF_EXTRACTED_TARBALL/usr/sys/inst.images -e /tmp/install.log all
installp syntax
Read syntax diagramSkip visual syntax diagram - installp -aYg -p -X -dinstall_images_location -elogfile fileset_names
-aYg
Specifies that all the latest installable filesets available in the install_images_location directory are applied and that the required software license agreement is accepted.
-p
Performs a preview of the installation process by running the preinstallation checks. See Previewing the license agreements.
-X
Attempts to expand the file system at the default location if there is insufficient space to complete the installation.
-d install_images_location
Specifies the directory where the filesets are located. This path can also be extracted tarball media.
-e logfile
Specifies the name and location of the installation log file.
fileset_names
Specifies a list of names of the filesets in install_images_location that you want to install. The keyword all can be used to indicate that all filesets should be attempted during installation.
Note: If the level of the IBM Open XL C/C++ or SMP runtime environment filesets that are already installed on your system is higher than those included in the compiler image, those runtime environment filesets included in the compiler image are not installed and you might see an error message.