Searching for Packages in a Software Source

Search for packages by name in OS Management Hub. This can be useful to identify which software source contains a specific package.

The search results might contain packages from vendor software sources not yet added to the service. Check the source's availability.

See also Video: Search for Packages.

    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Software sources.
    2. From the Actions menu, click Package search.
    3. Enter the name of the package (don't include version or architecture), and then click Search.
    4. To identify the software source that provides the package:
      1. Click the name of the package.
      2. Under Resources, click Software Sources.
        Tip

        Don't see any results? Select the root compartment under List Scope to view vendor software sources.
      3. Click the software source name and check its availability.

        Possible statuses include:

        • Available for instances in: OCI, On premises, 3rd-party cloud: The software source can be used by all instances.
        • Available for instances in: OCI: The software source is restricted for on-premises or third-party cloud instances, but can be used by OCI instances. Some sources are available to OCI instances only, such as oci_included. For other sources, such as ksplice, you can add an entitlement to make it available to on-premises or third-party cloud instances.
        • Available for instances in: -: The software source hasn't yet been added to the service for use by instances. Add the vendor software source to make it available.
  • Use the oci os-management-hub software-source get-software-package or oci os-management-hub software-source get-package-by-name command and required parameters to return information about a specific package.

    oci os-management-hub software-source get-software-package --software-source-id ocid --software-package-name package [OPTIONS]
    oci os-management-hub software-source get-software-package-by-name --software-package-name package [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the GetSoftwarePackage or GetSoftwarePackageByName operation to return information about a specific package.