View available packages

You can view a list of the offerings and updates in a source repository that are available to copy or delete.


Procedure

  1. Open a command-line utility.

  2. Open the Packaging Utility directory.

  3. Run the command to list available packages:

    pucl listAvailablePackages -repositories source_repository1,source_repository2

    Include quotation marks around filepaths that have spaces. Examples using the -long options:

    • Windows:

        pucl.exe listAvailablePackages -repositories http://server/repository,"C:\Installation Files\IBM" -long

    • Linux and UNIX:

        ./pucl listAvailablePackages -repositories http://server/repository -long


Results

When you run the listAvailablePackages command with the -repositories option, the returned information is a list of packages in the following format:

packageID_version_1
packageID_version_2

When you run the listAvailablePackages command with the -repositories and -long options, the returned information includes a longer description of the packages that are located in the repository. The returned information is in the following format:

repository_path_1 : packageID_version_1 : display_name_1 : display_version_1
repository_path_2 : packageID_version_2 : display_name_2 : display_version_2


What to do next

After viewing the list of available packages, use pucl commands to copy or delete the offerings and updates.

+

Search Tips   |   Advanced Search