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. The results don't include packages from third-party or private sources.

See also Video: Search for Packages.

    1. On the Software sources list page, from the Actions menu, select Package search. If you need help finding the list page, see Listing Software Sources.
    2. Enter the name of the package (don't include version or architecture), and then select Search.
    3. To identify the software source that provides the package:
      1. Select the name of the package.
      2. Under Resources, select Software Sources.
        Tip

        Don't see any results? Select the root compartment under List Scope to view vendor software sources.
      3. Select 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.