The Installation Manager command line tool (imcl) has two different commands that can be used to uninstall a product.
When using the uninstall command, all of the parameters must be used on the command line. When using the input command, most of the parameters are put in an XML file and then the XML file is used on the command line. This article describes the uninstallation procedure using the input command. Refer to this article to use the imcl input command.
If you have not installed IBM Installation Manager, install IBM Installation Manager.
The imcl listInstalledPackages command will show you the currently installed packages.
Perform the uninstall
These examples are based on a Linux system. Use the uninstall command to uninstall the package. In this example, the websphere.BASE and java.jdk packages are uninstalled.
/opt/IBM/InstallationManager/eclipse/tools/imcl uninstall com.ibm.websphere.BASE.v90_188.8.131.5271205_1311 com.ibm.java.jdk.v8_8.0.5007.20171218_1035 -installationDirectory /opt/IBM/WebSphere/AppServer -showProgress or -showVerboseProgress
Upon completion of the uninstall, the following should be displayed.
Uninstalled com.ibm.java.jdk.v8_8.0.5007.20171218_1035 from the /opt/IBM/WebSphere/AppServer directory Uninstalled com.ibm.websphere.BASE.v90_184.108.40.20671205_1311 from the /opt/IBM/WebSphere/AppServer directory
After the uninstall, there will still be some files and directories left over. If you are absolutely certain that you will have no need for the left over files and directories, removed the left over files and directories.
rm -rf /opt/IBM/WebSphere/AppServer
The websphere_installation_directory/logs/install/log.txt file can be reviewed to ensure the uninstallation was successful.
The Installation Verification Tool can be used to ensure the uninstallation was successful.
The listInstalledPackages command can be used to ensure the uninstalled packages are no longer listed.
The versionInfo.sh utility can be used to verify that the package is not longer installed.
~]# /opt/IBM/WebSphere/AppServer/bin/versionInfo.sh . . . Installed Product --------------------------------------------------- . . .