On April 23, 2025, OS Management reaches end of life (EOL). Effective now, the service is no longer available to you in regions where you are not already using OS Management, or to new users with new tenancies. Before the EOL date, we recommend that you migrate your managed instances to the OS Management Hub service. If you are an Oracle Autonomous Linux user, see Important Maintenance Event. For more information, see the Service Change Announcement.

Managing Software Sources

OS Management uses software sources to provide packages to instances, and to track the available updates to those packages.

A software source is simply a collection of packages. Software sources enable you to control which packages can be installed on instances without having to manually log in and configure the repositories on each instance.

Oracle Linux 8 also uses software sources to provide module streams to instances. For more information, see Managing Module Streams and Profiles.

Important

Software sources are available only for Oracle Linux instances at this time.

The following tasks for managing software sources are covered in this topic:

  • Adding (attaching) software sources to managed instances and managed instance groups
  • Removing (detaching) software sources from managed instances and managed instance groups
  • Creating custom software sources
  • Deleting software sources

About Software Sources

As part of the OS Management service, standard software sources are provided in the root compartment of the tenancy. The standard software sources are linked to the standard upstream repositories for the operating system. When OS Management is enabled for an instance, the default software sources for the operating system are added to the instance. You can add or remove software sources as needed.

Software Sources for Oracle Linux

Standard software sources are either parent (or base) sources or child sources. In addition to the standard software sources, you can create your own custom software sources.
Parent Software Source
The main software source for an Oracle Linux release is nominated as the parent software source. An instance can only have one parent software source, but any number of child sources.
Child Software Sources
A child software source usually provides packages that are not available in the base software source.
Software Source Examples
  • Parent software source: Oracle Linux 7 Latest (x86_64).
    • Child software source: Oracle Linux 7 Addons (x86_64).
    • Child software source: Oracle Linux 7 Development Packages (x86_64).
Important

  • The parent source must match the major release of the image used in the instance (for example, Oracle Linux 7 is a major release). Applying a parent or child source from one major release to another major release is not supported. For example, you cannot add the Oracle Linux 8 parent to an Oracle Linux 7 instance.

  • The OS Management service does not currently support moving from one major release to the next major release. However, the OS Management service does support moving from one minor release to another minor release. For example, you can move from Oracle Linux 7 Update 6 to Oracle Linux 7 Update 7. You can manage these updates as follows:

Custom Software Source

Custom software sources can be derived from the standard software sources or other custom sources. Custom sources enable you to create specific sets of packages that you want to manage and apply to instances. For example, you can create a software source with a custom package list tailored for your Bring Your Own Image (BYOI) images.

Important

You cannot upload your own packages from private yum repositories or mirrors to custom software sources. If you use private yum repositories, you can configure the OS Management service to ignore them, preventing the OS Management Service Agent plugin from overwriting the settings for those repositories. For more information, see Ignoring Private Repositories.

Adding Software Sources

Tip

If you are adding a software source that is replacing an older source, be sure to remove the older software source that is no longer required.

Removing Software Sources

Note

Removing a software source does not remove packages that were installed from the software source on your system. For example, suppose you are moving from UEK R5 to UEK R6. You add the software source for UEK R6 and then remove the software source for UEK R5. Any installed UEK R5 packages are still on your system. Those packages, however, are no longer updated because the software source has been removed and thus could appear in events, such as security scans. For information about removing packages, see Removing Packages.

Creating a Custom Software Source

Deleting Software Sources

Ignoring Private Repositories

Note

You cannot use your own private yum repositories or mirrors with the OS Management service. If you have private yum repositories, you can configure the OS Management service to ignore them, thus preventing the OS Management Service Agent plugin from overwriting the settings for those repositories.

Using the API

For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.

Use these API operations for managing software sources:

For a full list of API operations available for the OS Management service, see OS Management API.