Uninstalling Liberty interim fixes from IBM i operating systems using the command line

You can use the IBM® Installation Manager command-line function to remove interim fixes from WebSphere® Application Server Liberty.

About this task

Use this procedure whenever you want to remove an interim fix from your system using the command line.
Tip: You can also uninstall interim fixes using silent response files with Installation Manager. For information on creating and using response files, read Installing Liberty fix packs on IBM i operating systems using response files and the IBM Installation Manager product documentation.

Procedure

  1. Sign on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.
  2. Stop all servers and applications on the WebSphere Application Server Liberty installation.
  3. On a CL command line, run the STRQSH command to start the Qshell command shell.
  4. Make sure that the umask is set to 022.
    To verify the umask setting, issue the following command:
    umask
    To set the umask setting to 022, issue the following command:
    umask 022
  5. Change to the Installation_Manager_binaries/eclipse/tools directory, where Installation_Manager_binaries is the installation root directory for the Installation Manager.

    On IBM i systems, the root directory for the Installation Manager is /QIBM/ProdData/InstallationManager.

  6. Uninstall the interim fix:
    ./imcl uninstall interim_fix_name
      -installationDirectory offering_installation_location
  7. Optional: List all installed packages to verify the uninstallation.
    ./imcl listInstalledPackages -long