View available packages
You can view a list of the offerings, updates, and features in a source repository that are available to install.
Procedure
- Open a command-line utility.
- Open the tools directory. See Locating the tools directory for more information about the tools directory.
- Run the command to list available packages:
imcl listAvailablePackages -repositories source_repository1,source_repository2
Include quotation marks around filepaths that have spaces. Examples using the -features and -long options:
- Windows:
imcl.exe listAvailablePackages -repositories http://server/repository,"C:\Installation Files\IBM" -features -long
- Linux, UNIX , IBM i and z/OS:
./imcl listAvailablePackages -repositories http://server/repository -features -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_2When you run the listAvailablePackages command with the -repositories, -features and -long options, the returned information includes a longer description of the packages and also the features that are included in the repository. The returned information is in the following format:
repository_path_1 : packageID_version_1 : display_name_1 : display_version_1 : featureId_a,featureId_b,featureId_c
repository_path_2 : packageID_version_2 : display_name_2 : display_version_2 : featureId_a,featureId_b,featureId_c
What to do next
After viewing the list of available packages, use imcl commands to install the offerings, updates, and features.