Set repository preferences in console mode (imcl -c)

A repository is a location that stores data for installing, modifying, rolling back, updating, or uninstalling packages. Use console mode to add, remove, open, move, or close repositories A selected option is indicated by an X in brackets: [X]. Options that are not selected are indicated by empty brackets: [ ]. We can press Enter to select the default entry or select a different command. For example, [N] indicates that the default selection is N for the Next command.


Add a repository

  1. Start Installation Manager in console mode

      cd /usr4/IBM/InstallationManager/eclipse/tools
      ./imcl -c

  2. Enter P: Preferences.

  3. Enter 1: Repositories.

  4. Enter D: Add repository.

  5. Enter a repository location such as...

      /media/Portal95/CF210/repository.config

    Use the correct case when entering the repository location. If the correct case is not used, the package is not shown in the list of available packages for installation.

    If we add a repository that requires credentials, we are prompted to provide the required credentials. If we share an instance of Installation Manager with other users, save credentials in a key ring file before saving your password.

    1. Enter P: Provide credentials and connect.
    2. Enter the user_name and press Enter.
    3. Enter the password and press Enter.
    4. Enter 1 to save the password.
    5. Enter O: Ok.

    If we install a package that requires multiple sets of compressed files, extract each product package into a common root directory. If product A consists of six compressed files (disk1.zip file through disk6.zip file) extract all six compressed files into the same common directory, for example, C:\productA. If product B consists of two compressed files (disk1.zip file and disk2.zip file), extract both disks into the same common directory, for example, C:\productB. By using this directory structure, we avoid a prompt for the next disk during the installation.

  6. Enter A: Apply Changes and Return to Preferences Menu.

  7. Enter R: Return to Main Menu.


Search service repositories

To enable the search service repositories option:

  1. Enter P: Preferences.

  2. Enter 1: Repositories.

  3. Enter S: Search service repositories during installation and updates.

  4. Enter A: Apply Changes and Return to Preferences Menu.

  5. Enter R: Return to Main Menu.


Remove a repository

To remove a repository location:

  1. Enter P: Preferences.

  2. Enter 1: Repositories.

  3. Enter 1: repository_location. Select the number next to the repository. A repository must be listed before we can remove a repository. This example removes the first repository listed. You might have more than one repository listed.

  4. Enter 2: Remove repository.

  5. Enter A: Apply Changes and Return to Preferences Menu.

  6. Enter R: Return to Main Menu.


Open a repository

Installation Manager searches open repositories when checking for available packages but does not search closed repositories.

To open a repository:

  1. Enter P: Preferences.

  2. Enter 1: Repositories.

  3. Enter 1: repository_location. Select the number next to the repository. A closed repository must be listed before we can open the repository. An open repository is indicated with an X in brackets: [X]. A closed repository is indicated with an empty set of brackets: [ ].

  4. Enter 1: Open repository.

  5. Enter A: Apply Changes and Return to Preferences Menu.

  6. Enter R: Return to Main Menu.


Close a repository

Installation Manager does not search closed repositories but does search open repositories.

To close a repository:

  1. Enter P: Preferences.

  2. Enter 1: Repositories.

  3. Enter 1: repository_location. Select the number next to the repository. An open repository must be listed before we can close a repository. An open repository is indicated with an X in brackets: [X]. A closed repository is indicated with an empty set of brackets: [ ].

  4. Enter 1: Close repository.

  5. Enter A: Apply Changes and Return to Preferences Menu.

  6. Enter R: Return to Main Menu.


Move up a repository

Installation Manager accesses repositories from the top of the list. If two repositories contain the same package, the repository listed earlier is used. For example, we have a package available in two repositories. Repository A is accessible using a slow internet connection. Repository B is available on the local network. Move Repository B to a position above Repository A.

To move up a repository:

  1. Enter P: Preferences.

  2. Enter 1: Repositories.

  3. Enter 1: repository_location. Select the number next to the last repository that is listed. This example moves up the last repository listed. We must have more than one repository listed to see the Move up option.

  4. Enter 4: Move up.

    If you select a repository that is neither the first or the last repository, we see the options: 4: Move up and 5: Move down.

  5. Enter A: Apply Changes and Return to Preferences Menu.

  6. Enter R: Return to Main Menu.


Move down a repository

Installation Manager uses repositories from the top of the list. If two repositories contain the same package, the repository listed higher in the list is used. For example, we have a package available in two repositories. Repository A is accessible using a slow internet connection. Repository B is available on the local network. Move Repository A to a position below Repository B.

To close a repository:

  1. Enter P: Preferences.

  2. Enter 1: Repositories.

  3. Enter 1: repository_location. Select the number next to the first repository that is listed. This example moves down the first repository listed. You must have more than one repository listed to see the Move down option.

  4. Enter 4: Move down.

    If you select a repository that is neither the first or the last repository, we see the options: 4: Move up and 5: Move down.

  5. Enter A: Apply Changes and Return to Preferences Menu.

  6. Enter R: Return to Main Menu.


Delete saved credentials

The Clear Credentials option shows when we have saved credentials. If we do not have saved credentials, this option is not available.


Home