Command-line arguments for the pucl command
Use this reference table to learn more about the IBM Packaging Utility command
line, pucl.
Command-line arguments consist of commands and options. You can use commands without specifying an option, but you must specify a command when you use an option. Options start with a hyphen.
pucl commands from the Packaging Utility directory:- Windows:
install_dir\IBM\Packaging Utility - Linux®, UNIX,
IBM z/OS®,
and the OS X operating system:
install_dir/IBM/PackagingUtility
Specifying a package
To specify a package with a command, use one of these options:- Use
packageIDto specify the latest version of the package or fix. - Use
packageID_versionto work with a specific version of the package or fix.
| Commands | Description |
|---|---|
|
Copy packages or fixes from one or more source repositories into a target repository. Source repositories can be listed with the
copy command by using at least one of
these options:
-target option.Use the
copy command with these options:
Copying to remote HTTP and FTP repositories is not supported. You cannot use HTTP or FTP repositories as target repositories. |
|
Remove a package or a fix from a repository. The target repository must be specified by using the Use the
delete command with these options:
Deleting from remote HTTP and FTP repositories is not supported. You cannot use HTTP or FTP repositories as target repositories. |
|
Run the help command to view the available commands
for Packaging Utility. When you use the |
|
Return a list of fixes in a specified repository. For more information about viewing available fixes, see Listing available fixes by using pucl commands. Use the
listAvailableFixes command with these options:
|
|
Return a list of packages from a specified repository. For more information about listing available packages, see Listing available packages by using pucl commands. Use the
listAvailablePackages command with these options:
|
| Options | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Indicate acceptance of the license agreement. If the package that you copy requires confirmation of a license agreement, you must include this option with your command. Use the |
||||||||||||||||||
|
Use this option when you copy a package from IBM®
Passport Advantage® or search for updates to
packages that are obtained from Passport
Advantage. Use the
-connectPassportAdvantage option with these commands:
|
||||||||||||||||||
|
Include information about features in the list of packages. Use
the
-features option with this command:
|
||||||||||||||||||
|
The -keyring and -password options that are
used to store credentials to a key ring file are deprecated. Use the
-secureStorageFile and -masterPasswordFile options to store
credentials to a credential file. For more information, see Migrate from key ring files to storage files.Create a key ring file that contains
encrypted usernames and passwords for copying from protected repositories. The Use the
-keyring
option with these commands:
|
||||||||||||||||||
|
Include information about the repository paths, the package IDs and
versions, the display names and versions, and the feature IDs. Use the
-long
option with these commands:
|
||||||||||||||||||
|
Specify the language to use. When you include the You can access a list of language codes at the Library of Congress site Codes for the Representation of Names of Languages. Installation Manager supports only some of the languages that are listed. Of those languages, Installation Manager uses the ISO 639-1 Code, which uses the two-letter codes and not the ISO 639-2 Code, which uses the three-letter codes. Some languages support only partial translations. When a language is partially translated, the nontranslated content is presented in English. Packaging Utility supports the same languages that are supported for Installation Manager. For a list of supported languages, see Start Packaging Utility in wizard mode. For a list of languages that a package supports, see the documentation for that package. |
||||||||||||||||||
|
Specify the platform when this option is used with the copy
command. When you specify the platform, only the files that are required for the platform are
copied. You must use the repository that is created with the Restriction: You can use the
-platform option only one time for each
copy command. You can specify only one value for the -platform
option. To copy files for multiple platforms, you must run the copy command for
each platform.Use the
os attribute to specify the operating system and use the
arch attribute to specify the architecture. Not all products support all
os and arch values. Check your product documentation to determine
the values that are supported.
Use the
-platform option with this command:
|
||||||||||||||||||
|
Specify a preference value or a comma-delimited list of preference values to
use. Use the
-preferences option with these commands:
For a list of preferences that are available in Packaging Utility, see Preference keys for the pucl command. |
||||||||||||||||||
|
See the result of running the copy or delete commands without running the
commands. Use the
-preview option with these commands:
|
||||||||||||||||||
|
Include the -prompt option when you must enter credentials to
access a server or prompt a user to insert a disk. Use the
-prompt option with
these commands:
You cannot use the |
||||||||||||||||||
|
Use these options to store credentials for repository authentication.
The The |
||||||||||||||||||
|
Indicate the location that contains the installation files for the
available packages or fixes. Use the
-repositories option with these commands:
You can include a list of repositories by separating each repository with a comma. You can use a file path or a URL for the |
||||||||||||||||||
|
Lists the operating system and architecture values that a package
supports. Use the
-showPlatforms option with these commands:
The Check the package documentation to determine the supported operating systems and architectures for that package. |
||||||||||||||||||
|
Show a progress bar on the console. | ||||||||||||||||||
|
Show progress text on the console. | ||||||||||||||||||
|
Indicate the target or destination repository to copy to or delete
from. Copying to or deleting from remote HTTP and FTP repositories is not supported. You cannot use HTTP or FTP repositories as target repositories. Use the
-target option
with these commands:
|
||||||||||||||||||
|
Search service repositories for updates. You must use the
-repositories option when you use the -useServiceRepository
option. This option searches for updates for base offerings that are available in the
repositories that are listed by the If no package is specified, all the versions of the package in the repository are searched for updates. Use the
-useServiceRepository option with these commands:
For more information about service repositories, see Searching for updates in wizard mode. |