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
For information about return codes of the installp command, see "installp Command" in the IBM® AIX documentation at http://www.ibm.com/systems/power/software/aix/resources.html.