About this task
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-'
- -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 installation.
- -X
- Attempts to expand the file system at the default location if
there is insufficient space to complete the install.
- -d install_images_location
- Specifies the directory where the filesets are located. This path
may also be a mounted CD-ROM drive.
- -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.
Note: The keyword all can be used to indicate
that all filesets should be attempted during installation.
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
Note: - If you use the keyword all as
in this example, installp produces an error message
indicating that either xlC.aix50.rte or xlC.aix61.rte has
failed to install. This is normal, and you can ignore the error message.
If you install the compiler onto a system running AIX 5.3, only xlC.aix50.rte is
required, and xlC.aix61.rte automatically fails
to install. Likewise, if you install the compiler onto a system running AIX 6.1, only xlC.aix61.rte is
required, and xlC.aix50.rte fails to install.
- Similarly, any language specific filesets that are not supported
by your system will produce an error message and fail to install.
For example, if locale support is not present for Ja_JP, you will
get a failure when attempting to install a Ja_JP specific language
fileset for the compiler. These error messages are normal and should
be ignored.