Update packages using console mode (imcl -c)

We can update a package in console mode. A package can be a product, a group of components, or a single component designed for console mode to update. Before we can update a package, IBM Installation Manager must have access to the repository containing the package to update. Close the product before starting the update process.

To create a response file, step through the update process, and then before actually updating the package, select option...

A selected option is indicated by an X in brackets: [X]. Options that are not selected are indicated by empty brackets: [ ]. We can press Enter to select the default entry or select a different command. For example, [N] indicates that the default selection is N for the Next command.

During the update process, we can search for updates. Some packages require entitlement for updates. If we are not entitled for an update, the update is not included in the search results. Entitlement is based on your IBM ID credentials. For information about entitlement, see IBM Entitlement Help.


Update a package in console mode

  1. Start IIM in console mode.

      ./imcl -c

  2. Enter 2: Update - Find and install updates and fixes to the installed software packages.

    Package groups that can be updated are listed. If updates are not available, check the list of repositories

    If we have repositories that require credentials and we did not save the credentials, we are prompted to provide these credentials.

    If we share an instance of Installation Manager with other users, see Save credentials in a key ring file when we share an instance of Installation Manager before saving the password.

  3. If a package group is not selected, enter the number next to the package group. Information about the translations and architecture for the package group are shown. We can enter one of these options:

    • U: Update all. Choose to install all available updates.
    • A: Unselect all. Choose to clear all selected package groups.

    1. After selecting the package group to update, enter N: Next.

  4. A list of packages that can be updated is shown.

    Enter the number next to the package we want to update and then enter N: Next.

  5. A list of packages that can be updated are shown. This example assumes that we have one update for a package. These options show:

    • 1: [ ] package_name
    • 2: [ ] Version package_version
    • A: Show all. Shows all available updates.
    • R: Select Recommended. Select only the updates that are recommended.

    1. If the update is not selected, enter 2: [ ] Version package_version to select the update.
    2. Enter N: Next.

  6. For the Licenses screen, these options are available:

    • 1: product_name - License Agreement.

      To view a license agreement, enter the number next to the product name.

    • A: [ ] I accept the terms in the license agreement.

    • D: [ ] I do not accept the terms in the license agreement.

      If we decline the license agreement, the installation is stopped. To continue the installation, we must accept the license agreement.

    1. Enter A to accept the license agreement.
    2. Enter N: Next.

  7. Enter the number next to the feature to add or remove the feature from the list of features to install.

  8. After selecting the features, enter N: Next.

  9. On the Summary screen, review your selections before updating the package.

    Optional: To generate a response file, enter G: Generate an update response file.

    Enter the name of the response file and use .xml as the file extension. Response files are XML files. We can include a directory location when we enter the response file name to save the file to a different location.

  10. Enter U: Update.

  11. When the installation completes, enter F: Finish.

Home