Using installp
You can use the installp command to install a PTF and write the output to a log file.
Procedure
Run the command:
>>- ---installp-- -ag--+-----+--+-----+--+----------------------------+--+--------------+--fileset_names->< '- -p-' '- -X-' '- -d--PTF_filesets_location-' '- -e--logfile-'
installp -aXgd PTF_filesets_location -e logfile fileset_names
- -ag
- Specifies that all the latest installable filesets available in the PTF_filesets_location directory are applied.
- -p
- Performs a preview of the installation process by running the preinstallation checks. See Previewing the installation and license agreements.
- -X
- Attempts to expand the file system at the default location if there is not enough space to complete the installation.
- -d PTF_filesets_location
- Specifies the directory where the filesets are located. This path might 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 PTF_filesets_location that
you want to install. Note: The keyword all can be used to indicate that all filesets must be attempted during installation.
Example
The following example installs all available PTF filesets in the /compiler/update/ source directory to the default locations, as specified in Filesets, and writes an installation log file to /tmp/install.log.
installp -aXgd /compiler/update/ -e /tmp/install.log all