FreeKB - IBM Installation Manager Uninstall a package using imcl uninstall command
IBM Installation Manager - Uninstall a package using imcl uninstall command

The Installation Manager command line tool (imcl) has two different commands that can be used to uninstall a product.

  • uninstall
  • input

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.


Stop services

Before uninstalling a package, stop the services associated with the package. For example, if uninstalling websphere.BASE, you would stop the node agent and stop the application server.


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
-installationDirectory /opt/IBM/WebSphere/AppServer
-showProgress or -showVerboseProgress


Upon completion of the uninstall, if no issues were detected, the following should be displayed.

Uninstalled from the /opt/IBM/WebSphere/AppServer directory 
Uninstalled from the /opt/IBM/WebSphere/AppServer directory


Be aware that if the -installationDirectory does not exist, the following will be included in the output. As this output states, the package will still be uninstalled, even if -installationDirectory does not exist.

CRIMA1268W WARNING: The "IBM WebSphere Application Server - ND" package group's "/opt/WebSphere/AppServer70" install location is missing or empty.

Explanation: Installation Manager did not find the installation directory for the package group.

User Action: The uninstallation was performed even though the installation directory was missing or empty.


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


Post uninstallation

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 utility can be used to verify that the package is not longer installed.

~]# /opt/IBM/WebSphere/AppServer/bin/
. . .
Installed Product
. . .


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 8f546 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |