Remove packages from a repository with the delete command
for the IBM Packaging Utility command
line, pucl.
About this task
Deleting from remote HTTP and FTP repositories is not supported.
You cannot use HTTP or FTP repositories as target repositories.
Procedure
- Open a command-line utility.
- Open the
Packaging Utility directory for
your operating system.
- Windows:
install_dir\IBM\Packaging
Utility
- Linux®, UNIX, IBM z/OS®,
and the OS X operating system:
install_dir/IBM/PackagingUtility
- Run this command 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 the OS X operating system as an administrator:
./pucl
delete com.ibm.package_7.2 -target /var/ibm/ibm_packages/