You can install XL C directly from the command line using the AIX® command installp.
To install the compiler and write the installation output to a log file using the installp command, follow these steps:
Run the command:
installp -aXYgd install_images_location -e logfile fileset_names
>>- ---installp-- -aYg--+-----+--+-----+--+------------------------------+--+--------------+--fileset_names->< '- -p-' '- -X-' '- -d--install_images_location-' '- -e--logfile-'
The following example installs all available compiler filesets in the /cdrom/usr/sys/inst.images source directory to the default locations, as specified in Filesets, and writes an installation log file to /tmp/install.log.
Example:
installp -aXYgd /cdrom/usr/sys/inst.images -e /tmp/install.log all
Requisite Failures
------------------
SELECTED FILESETS: The following is a list of filesets that you asked to
install. They cannot be installed until all of their requisite filesets
are also installed. See subsequent lists for details of requisites.
xlC.aix61.rte 11.1.0.0 # XL C/C++ Runtime for AIX 6.1
MISSING REQUISITES: The following filesets are required by one or more
of the selected filesets listed above. They are not currently installed
and could not be found on the installation media.
bos.rte 6.0.0.0 # Base Level Fileset
bos.rte.libc 6.0.0.0 # Base Level Fileset