Updating a default installation
If you used a default installation process to install IBM® Open XL C/C++ to a default location, it is
recommended that you use SMIT or the installp command to install
fix packs.
Using SMIT
- Run the command:
smit update_all. This command invokes the SMIT, which presents a menu-driven user interface for the installation process. - When you see
INPUT device/directory of the software, enter the path of the directory where the fix pack filesets and .toc are located. - Press Enter. At this stage, you are prompted with a list of questions that help you customize the compiler installation on your system. Verify the default values, or modify them where necessary, to accommodate your preferences. Do not modify the value in the SOFTWARE to install field.
- Press Enter twice. Messages are displayed as each part is successfully installed, and the installation log is stored to /home/smit.log.
Note: If you have migrated your system to a new operating system version, use
smit
install_all to ensure all filesets related to this operating system version are
installed.Using installp
Run the command:
installp -aXgd fix_pack_filesets_location -e logfile fileset_names
- -ag
- Specifies that all the latest installable filesets available in the fix_pack_filesets_location directory are applied.
- -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 not enough space to complete the installation.
- -d fix_pack_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 fix_pack_filesets_location that you want to
install. Note: The keyword all can be used to indicate that all filesets must be attempted during installation.
The following example installs all available fix pack filesets in the /compiler/update/ source directory to the default locations, as specified in Product fileset reference, and writes an installation log file to /tmp/install.log.
installp -aXgd /compiler/update/ -e /tmp/install.log all
