Uninstall Liberty from IBM i operating systems using the command line
We can use Installation Manager to unWAS Liberty Core using the Installation Manager command line (imcl).
- Stop all servers and applications on the WebSphere Application Server Liberty Core installation.
- Sign on to the IBM i system with a user profile that has *ALLOBJ and *SECADM special authorities.
- 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 you installed Installation Manager.
- Use the imcl command to uninstall the product.
For example:
./imcl uninstall com.ibm.websphere.liberty.v85,optional_feature_ID -installationDirectory installation_directoryWe can remove a list of features that are separated by commas. If a list of features is not specified, the entire product is uninstalled.
For more information on using the imcl command to uninstall the product, see the IBM Installation Manager Information Center.
- Optional: Uninstall IBM Installation Manager.
Important: Before we can uninstall IBM Installation Manager, we must uninstall all of the packages that were installed by Installation Manager.
For more information on uninstalling Installation Manager, see the IBM Installation Manager Information Center.
Example
Here is an example of using the imcl command to uninstall Websphere Application Server:
./imcl uninstall com.ibm.websphere.liberty.v85 -installationDirectory /QIBM/ProdData/WebSphere/AppServer/V85/LibertyCore
Parent topic:
Install Liberty on IBM i operating systems
Tasks:
Install Liberty on IBM i operating systems using the command line
Install Liberty on IBM i operating systems using response files
Install Liberty remotely on IBM i operating systems using the iRemoteInstall command
Add and remove features from Liberty on IBM i operating systems using response files
Uninstall Liberty from IBM i operating systems using response files
Install Liberty interim fixes on IBM i operating systems using the command line
Install Liberty fix packs on IBM i operating systems using the command line
Install Liberty fix packs on IBM i operating systems using response files
Uninstall Liberty interim fixes from IBM i operating systems using the command line
Uninstall Liberty fix packs from IBM i operating systems using the command line
Uninstall Liberty fix packs from IBM i operating systems using response files
Terms and conditions for information centers