Installing fix pack on the PASE system
This section describes the steps to install fix packs for the IBM Open SDK for Rust on AIX 1.96 compiler on the PASE system.
Procedure
- Obtain the fix packs to be installed.
-
Decompress and then unpack the fix packs.
If you have downloaded the compressed TAR images to the /QOpenSys/ptf/ directory, you can use the following commands from a QP2TERM command line:
cd /QOpenSys/ptf uncompress <filename.tar.Z> tar -xvf <filename.tar> -
Create a file containing a list of the fix packs to be installed.
To do so, use the following commands on a QP2TERM command line:
cd /QOpenSys/ptf ls *.bff > ptflist.txt - Check and update, if necessary, the nondefault installation (NDI) tool
itself. The updated version of the NDI tool needs to be restored first in order to use the updated version to install the rest of the fix pack. To do so, use the following commands:
cd /QOpenSys/home/user ls /QOpenSys/ptf/rustsdk.1.96.0.ndi_* restore -qf /QOpenSys/home/vainst/ptf/rustsdk.1.96.0.ndi_V.R.M.F.bffNotes:- If the ls command returns an error message indicating the file does not exist, it means the NDI tool is not updated by the fix pack. Skip this command and continue with the next step in the instructions.
- If the ls command returns a file name, make a note of this file name and use
that file name in the restore
command.
restore -qf /QOpenSys/home/vainst/ptf/rustsdk.1.96.0.ndi_V.R.M.F.bffFor example, if the file name returned is
rustsdk.1.96.0.ndi.bff, issue the following command:restore -qf /QOpenSys/home/vainst/ptf/rustsdk.1.96.0.ndi_V.R.M.F.bff
-
Run the installation script to install the fix packs.
Enter the following command from the QP2TERM command line:
/QIBM/ProdData/DeveloperTools/pase/bin/perl /opt/IBM/RustSDK/1.94/bin/rustndi \ -d /QOpenSys/ptf -b /QOpenSys/rustsdk -u /QOpenSys/ptf/ptflist.txtThe installation script creates a compressed TAR backup of the compiler files that exist before the fix pack update. If you use the directories as shown in these instructions, this file is named
/QOpensys/rustsdk.backup.tar.Z. If a problem occurs with the installation of the fix pack update or with the fix pack update itself, you can restore from this backup to uninstall the fix pack update.