Uninstall packages using console mode (imcl -c)

We can use console mode to uninstall packages.

We must log in with a user account that has the same privileges as the account that was used to install the packages.

To create a response file, step through the uninstall process. Enter G: Generate an uninstall response file option before we uninstall the package.

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.

Some packages require entitlement for versions or fixes. During the uninstall process, Installation Manager might require access to entitled content. We must be entitled to the content for the uninstall to finish. Entitlement is based on your IBM ID credentials. For information about entitlement, see IBM Entitlement Help.

Procedure

To uninstall packages:

  1. Close programs that we installed with Installation Manager.

  2. Start Installation Manager in console mode imcl -c. For more information, see Start IIM in console mode.

  3. Enter 5: Uninstall - Remove the installed software packages.

  4. Enter 1: [ ] package_group. To select a package group, enter the number next to the package group.

  5. Enter N: Next to continue.

  6. Enter 1: [ ] package. To select the package, enter the number next to the package. This example selects the first package listed.

    Optional: To select all packages to uninstall, enter A: Select all packages. The Unselect all packages option shows when all packages are selected for uninstallation.

  7. In the Summary panel, review your selections before we uninstall the package.

    Optional: To generate a response file, enter G: Generate an uninstall 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.

    1. Enter U: Uninstall.

  8. When the uninstall process completes, enter F: Finish.

Home