Example: Updating the XL SMP and XL C/C++ V7.0 runtime packages and installing XL C/C++ V8.0

This example is based on the following assumptions:

For this scenario, you use the following steps:

  1. To avoid future dependency errors, remove the existing runtime packages by issuing the following commands:
    rpm -e vacpp.rte-7.0.0-0  --nodeps
    rpm -e xlsmp.lib-1.5.0-0  --nodeps
    rpm -e xlsmp.rte-1.5.0-0  --nodeps
    rpm -e xlsmp.msg.rte-1.5.0-0  --nodeps
  2. To replace the deleted runtime packages and to install XL C/C++ V8.0, issue the following command:
    rpm -ivh *.rpm
  3. Modify any existing XL C/C++ V7.0 configuration file to use the new configuration path:
      # sed -e "s/xlsmp\/1\.5/xlsmp\/1\.6/g" < /etc/opt/ibmcmp/vac/7.0/vac.cfg >
        /etc/opt/ibmcmp/vac/7.0/vac.cfg.new 
      # mv /etc/opt/ibmcmp/vac/7.0/vac.cfg.new 
        /etc/opt/ibmcmp/vac/7.0/vac.cfg
    Note:
    The XL C/C++ V7.0 path does not change.
  4. Generate the default XL C/C++ V8.0 configuration file:
    # /opt/ibmcmp/vac/8.0/bin/vac_configure -gcc /usr -gcc64 /usr
      -ibmcmp /opt/ibmcmp/ /opt/ibmcmp/vac/8.0/etc/vac.base.cfg 
      -o  /etc/opt/ibmcmp/vac/8.0/vac.cfg