Uninstalling Liberty from IBM i operating systems using the command line

You can use Installation Manager to uninstall WebSphere® Application Server Liberty Core using the Installation Manager command line (imcl).

Procedure

  1. Stop all servers and applications on the WebSphere Application Server Liberty Core installation.
  2. Sign on to the IBM® i system with a user profile that has *ALLOBJ and *SECADM special authorities.
  3. 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. Use the imcl command to uninstall the product.
    For example:
    ./imcl uninstall com.ibm.websphere.liberty.CORE
      -installationDirectory installation_directory
    

    For more information on using the imcl command to uninstall the product, see the IBM Installation Manager product documentation.

  6. 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 on uninstalling Installation Manager, see the IBM Installation Manager product documentation.

Example

Here is an example of using the imcl command to uninstall Liberty:
./imcl uninstall com.ibm.websphere.liberty
  -installationDirectory /QIBM/ProdData/WebSphere/Liberty/LibertyCore