Uninstall the product offerings using the command line
We can uninstall any product offering using the Installation Manager imcl uninstall command.
All product offerings can be uninstalled using the Installation Manager command line, including the following offerings:
- All WebSphere Application Server editions
- Application Client for WAS
- DMZ Secure Proxy Server for WAS
- IBM HTTP Server
- Web Server Plug-ins
- WebSphere Customization Toolbox
For a full list of product offerings, see WAS product offerings for supported operating systems.
Uninstall using the command line
- Log on to the system.
(iSeries) Log on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.
- Stop the product installation that we are uninstalling.
- Start the command line.
(iSeries) On a CL command line, run the STRQSH command to start the Qshell command shell.
- Change to the eclipse/tools subdirectory in the directory where we installed Installation Manager.
- List all installed packages, and then note the offering ID, such as com.ibm.websphere.ND.v90.
imcl listInstalledPackages -long
For all offering IDs, see WAS product offerings for supported operating systems.
- Use the imcl uninstall command to uninstall the product offering.
(Windows)
imcl.exe uninstall offering_ID com.ibm.java.jdk.v8 -installationDirectory installation_directory
(UNIX)
./imcl uninstall offering_ID com.ibm.java.jdk.v8 -installationDirectory installation_directory
(iSeries)
./imcl uninstall offering_ID -installationDirectory installation_directory
Important: When uninstalling any product offering, uninstall all packages under the same package group that are extensions of the offering.
(Dist) For example, the WAS ND 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 to uninstall, we can specify the uninstallAll option to remove all packages in a package group installation directory.
./imcl uninstallAll -installationDirectory installation_directory
- Optional: Uninstall Installation Manager.
Important: Before uninstalling IBM Installation Manager, uninstall all of the packages that were installed by Installation Manager.
See Installation Manager documentation.
Install the product offerings Install features on distributed operating systems Update the product on distributed and IBM i operating systems Uninstall the product offerings from distributed operating systems using the GUI Uninstall the product offerings using response files