Copy a package using pucl
Copy a package from a repository location in to an accessible repository location for installation in an enterprise environment using 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.
Copying to remote HTTP and FTP repositories is not supported. You cannot use HTTP or FTP repositories as target repositories.
To copy a package using pucl...
cd install_dir/IBM/PackagingUtility
pucl copy packageID_packageVersion -repositories source_repository -target destination_repository [-keyring keyring_file -password password]-acceptLicenseExamples:
- Windows:
pucl.exe copy com.ibm.package_7.2 -repositories http://server/repository/package/ -target "C:\IBM\IBM Packages\" -keyring C:\keyring_file.keyring -password password -acceptLicense
- Linux and UNIX:
./pucl copy com.ibm.package_7.2 -repositories http://server/repository/package/ -target /var/ibm/ibm_packages -keyring /var/keyring_file.keyring -password password -acceptLicense