Delete a package using pucl

Remove packages from a repository location with the IBM Packaging Utility command line (pucl).

Create a keyring file if you are using repositories that require authentication. See Storing credentials for information about how to create a keyring file.

Deleting from remote HTTP and FTP repositories is not supported. You cannot use HTTP or FTP repositories as target repositories.


Procedure

  1. Open a command-line utility.

  2. Open the Packaging Utility directory.

      install_dir\IBM\Packaging Utility

  3. Run the delete command:

    pucl delete packageID_packageVersion -target target_repository

    Include quotation marks around filepaths that have spaces. Examples:

    • Windows as an administrator: pucl.exe delete com.ibm.package_7.2 -target "C:\IBM\IBM_Packages\"
    • Linux and UNIX as an administrator: ./pucl delete com.ibm.package_7.2 -target /var/ibm/ibm_packages/

+

Search Tips   |   Advanced Search