Delete a package using the pucl command

Remove packages from a repository with the delete command for the IBM Packaging Utility command line, pucl.

Delete from remote HTTP and FTP repositories is not supported. We cannot use HTTP or FTP repositories as target repositories.

Procedure

  1. Open a command-line utility.

  2. Open the Packaging Utility directory for your operating system.

    • Windows: install_dir\IBM\Packaging Utility
    • Linux, UNIX, ZOS and OS X: install_dir/IBM/PackagingUtility

  3. To delete a package from a repository:
    pucl delete packageID_version 
            -target destination_repository
            [ -preview ]

    pucl delete packageID_packageVersion -target target_repository

    Enclose file paths that include spaces with double quotation marks. Examples of the delete command:

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

Home