[AIX Solaris HP-UX Linux Windows][IBM i]

Uninstalling the product offerings by using the command line

You can uninstall any product offering by using the Installation Manager imcl uninstall command.

About this task

All product offerings can be uninstalled by using the Installation Manager command line, including the following offerings:
  • All WebSphere® Application Server editions
  • Application Client for WebSphere Application Server
  • DMZ Secure Proxy Server for WebSphere Application Server
  • IBM® HTTP Server
  • Web Server Plug-ins
  • WebSphere Customization Toolbox

For a full list of product offerings, see WebSphere Application Server product offerings for supported operating systems.

Procedure

  1. Log on to your system.

    [IBM i]Make sure that you log on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.

  2. Stop the product installation that you are uninstalling.
  3. Start the command line.

    [IBM i]On a CL command line, run the STRQSH command to start the Qshell command shell.

  4. Change to the eclipse/tools subdirectory in the directory where you installed Installation Manager.
  5. List all installed packages, and then note the offering ID, such as com.ibm.websphere.ND.v90.
    [Windows]
    imcl.exe listInstalledPackages -long
    [Linux][AIX][HP-UX][IBM i][Solaris]
    ./imcl listInstalledPackages -long

    For all offering IDs, see WebSphere Application Server product offerings for supported operating systems.

  6. Use the imcl uninstall command to uninstall the product offering.
    [Windows]
    imcl.exe uninstall offering_ID com.ibm.java.jdk.v8
      -installationDirectory installation_directory
    [Linux][AIX][HP-UX][Solaris]
    ./imcl uninstall offering_ID com.ibm.java.jdk.v8
      -installationDirectory installation_directory
    [IBM i]
    ./imcl uninstall offering_ID
      -installationDirectory installation_directory
    
    Important: When you uninstall any product offering, you must uninstall all packages under the same package group that are extensions of the offering.

    [AIX Solaris HP-UX Linux Windows]For example, the WebSphere Application Server Network Deployment offering requires IBM SDK, Java™ Technology Edition. Both the product offering (com.ibm.websphere.ND.v90) and the Java SDK (com.ibm.java.jdk.v8) must be uninstalled.

    Tip: As an alternative to listing all of the offering IDs in a package group that you want to uninstall, you can specify the uninstallAll option to remove all packages in a package group installation directory.
    [Windows]
    imcl.exe uninstallAll -installationDirectory installation_directory
    [Linux][AIX][HP-UX][IBM i][Solaris]
    ./imcl uninstallAll -installationDirectory installation_directory
  7. Optional: Uninstall IBM Installation Manager.
    Important: Before you can uninstall IBM Installation Manager, you must uninstall all of the packages that were installed by Installation Manager.

    For more information, see the IBM Installation Manager documentation.