Uninstall packages using imcl

Uninstall packages from the tools directory using Installation Manager command line (imcl) uninstall commands.


Procedure

To uninstall a package using imcl:

  1. Open a command-line utility.

  2. Open the tools directory. See Locating the tools directory for more information about the tools directory.

  3. Run the uninstall command:

    imcl uninstall package_id_version,feature_id 
     -installationDirectory installation_directory 
     [ -properties property_key=value ] 
     [ -preferences preference_key=value ] 
     [ -keyring keyring_file -password password ]

    Include quotation marks around filepaths that have spaces.


Example

Operating system Administrator Nonadministrator Group
Windows 2000 or Windows XP Professional imcl.exe uninstall com.ibm.package_7.1 -installationDirectory "C:\Program Files\IBM\Package" -keyring C:\keyring_file.keyring -password password imcl.exe uninstall com.ibm.package_7.1 -installationDirectory "C:\Documents and Settings\user\IBM\Package" -keyring C:\keyring_file.keyring -password password Not available.
Windows Vista, Windows 2008, or Windows 7 imcl.exe uninstall com.ibm.package_7.1 -installationDirectory "C:\Program Files\IBM\Package" -keyring C:\keyring_file.keyring -password password imcl.exe uninstall com.ibm.package_7.1 -installationDirectory "C:\Users\user\IBM\Package" -keyring C:\keyring_file.keyring -password password Not available.
Linux and UNIX ./imcl uninstall com.ibm.package_7.1 -installationDirectory /opt/IBM/Package -keyring /user_home/keyring_file.keyring -password password ./imcl uninstall com.ibm.package_7.1 -installationDirectory /user_home/IBM/Package -keyring /user_home/keyring_file.keyring -password password ./imcl uninstall com.ibm.package_7.1 -installationDirectory /user_home/IBM/Package_Group/ -keyring /user_home/keyring_file.keyring -password password
IBM i ./imcl uninstall com.ibm.package_7.1 -installationDirectory /QIBM/ProdData/Package -keyring /user_home/keyring_file.keyring -password password ./imcl uninstall com.ibm.package_7.1 -installationDirectory /user_home/IBM/Package -keyring /user_home/keyring_file.keyring -password password Not available.
z/OS ./imcl uninstall com.ibm.package_7.1 -installationDirectory /Package -keyring /user_home/keyring_file.keyring -password password ./imcl uninstall com.ibm.package_7.1 -installationDirectory /user_home/Package -keyring /user_home/keyring_file.keyring -password password ./imcl uninstall com.ibm.package_7.1 -installationDirectory /user_home/Package_Group -keyring /user_home/keyring_file.keyring -password password

Uninstall all packages using imcl

You can uninstall all of the packages in a repository using Installation Manager command line (imcl) commands.

Procedure

To uninstall all packages using imcl:

  1. Open a command-line utility.

  2. Open the tools directory. See Locating the tools directory for more information about the tools directory.

  3. Run the uninstall all packages command:

    imcl uninstallAll 
     -installationDirectory installation_directory 
     [ -keyring keyring_file -password password ] 

Example

Operating system Administrator Nonadministrator Group
Windows 2000 or Windows XP Professional imcl uninstallAll -installationDirectory "C:\Program Files\IBM\" -keyring C:\keyring_file.keyring -password password imcl uninstallAll -installationDirectory "C:\Documents and Settings\user\IBM\" -keyring C:\keyring_file.keyring -password password Not available.
Windows Vista, Windows 2008, or Windows 7 imcl uninstallAll -installationDirectory "C:\Program Files\IBM\" -keyring C:\keyring_file.keyring -password password imcl uninstallAll -installationDirectory "C:\Users\user\IBM\" -keyring C:\keyring_file.keyring -password password Not available.
Linux and UNIX ./imcl uninstallAll -installationDirectory /opt/IBM/ -keyring /var/keyring_file.keyring -password password ./imcl uninstallAll -installationDirectory /user_home/IBM/ -keyring /user_home/keyring_file.keyring -password password ./imcl uninstallAll -installationDirectory /user_home/IBM/ -keyring /user_home/keyring_file.keyring -password password
IBM i ./imcl uninstallAll -installationDirectory /QIBM/ProdData/ -keyring /var/keyring_file.keyring -password password ./imcl uninstallAll -installationDirectory /User_Home/IBM/ -keyring /user_home/keyring_file.keyring -password password Not available.
z/OS ./imcl uninstallAll -installationDirectory /Package -keyring /var/keyring_file.keyring -password password ./imcl uninstallAll -installationDirectory /user_home/Package -keyring /user_home/keyring_file.keyring -password password ./imcl uninstallAll -installationDirectory /user_home/Package_Group -keyring /user_home/keyring_file.keyring -password password


+

Search Tips   |   Advanced Search