Uninstalling packages by using imcl commands
Use the uninstall or uninstallAll commands
to uninstall packages.
Before you begin
To identify the package ID, version, and feature ID, run
the listAvailablePackages command. See Listing available packages by using imcl commands.
Procedure
The following steps describe how to uninstall a package:
Example
| Operating system | Commands |
|---|---|
| Windows | imcl.exe uninstall com.ibm.package_7.1
-installationDirectory installation_dir\Package |
| Linux®, UNIX, IBM i, z/OS, and the OS X operating system | ./imcl uninstall com.ibm.package_7.1
-installationDirectory installation_dir/Package |
Uninstalling all packages by using the uninstallAll command
You can uninstall all the packages by using the uninstallAll commands.
Procedure
The following steps describe how to uninstall all packages:
Example
| Operating system | Administrator |
|---|---|
| Windows | imcl uninstallAll -installationDirectory installation_dir |
| Linux, UNIX, IBM i, z/OS, and the OS X operating system | ./imcl uninstallAll -installationDirectory installation_dir |