Managing Linux Packages

This topic explains how to manage packages for Linux instances that are managed by the OS Management service.

The following Linux package management tasks are covered in this topic:

  • Searching for packages

  • Installing and updating packages

  • Removing packages

About Linux Updates in OS Management

OS Management uses the following categories for patch updates:

  • Security
  • Bug fixes
  • Enhancement
  • Other
OS Management Category Description
Security An update that addresses security vulnerabilities found during development, testing, or reported by users. Security fixes usually have one or more associated CVE (Common Vulnerabilities and Exposure) names to identify the vulnerabilities.
Bug An update that fixes issues reported by users or discovered during development or testing.
Enhancement An update that introduces new features, improved functionality, or enhanced performance in the package's software.
Other An update that is not associated with any errata.

Installing Packages

To install packages on a managed instance
  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.
  2. Find the instance and click its name.
  3. On the Instance Details page, under Resources, click OS Management.
  4. Click the Actions icon (three dots) and click View OS Management Details.
  5. Under Resources, click Available Packages.
  6. In the Available Packages section, find and select the packages you want to install.
  7. Click Install.
  8. In the Install Package panel, choose when you want to install the packages.

    To install the packages immediately, choose Install Now and click Install Package.

    To schedule a job to install the packages:

    1. Choose Custom Schedule.

    2. (Optional) For Job Name, enter a description of the job.

    3. For Date and Time, click the calendar icon and select the date and time you want the job to run.

    4. Click Install Package.

To install specific versions of packages on a managed instance

Note

Use the package search facility to update a package to a specific version, for example, if you need to install a previous or interim version of the package. For more information, see Searching for Packages.

To install all security updates on a managed instance
  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.
  2. Find the instance and click its name.
  3. On the Instance Details page, under Resources, click OS Management.
  4. Click the Actions icon (three dots) and click Install Security Updates.
  5. In the Install All Security Updates dialog box, click Install Updates to confirm the action.
To install all available updates on a managed instance
  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.
  2. Find the instance and click its name.
  3. On the Instance Details page, under Resources, click OS Management.
  4. Click the Actions icon (three dots) and click Install All Updates.
  5. In the Install All Package Updates dialog box, click Install Updates to confirm the action.
To install package updates on a managed instance group
  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click OS Management.
  2. Under OS Management, click Managed Instance Groups.
  3. In the List Scope section, select the compartment that contains the managed instance group to be updated.
  4. On the row of the managed instance group, click the Actions icon (three dots), and click Install Package Update.
  5. In the Install Package panel, enter the package name you want to install and press Return.

    If a match for the package name is found, a list of package names that match the search pattern is displayed.

  6. Choose when you want to install the packages.

    To install the packages immediately, choose Install Now and click Install Package.

    To schedule a job to install the packages:

    1. Choose Custom Schedule.

    2. (Optional) For Job Name, enter a description of the job.

    3. For Date and Time, click the calendar icon and select the date and time you want the job to run.

    4. Click Install Package.

To install all available package updates on a managed instance group
  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click OS Management.
  2. Under OS Management, click Managed Instance Groups.
  3. In the List Scope section, select the compartment that contains the managed instance group to be updated.
  4. On the row of the managed instance group, click the Actions icon (three dots), and click Install All Package Updates.
  5. In the Install All Updates panel, from Select Update Type, select either All, Security, Bug Fix, or Enhancement. The default is All.
  6. In the Install All Updates panel, for Select Update Type, select the type of Linux updates to install.

    You can install all available updates by selecting All (the default type) or you can install the available updates for a particular category by selecting Security, Bug Fix, or Enhancement.

  7. Under Install Schedule: choose when you want to install the updates.

    To install the updates immediately, choose Install Now and click Install All Updates.

    To schedule a job to install the updates:

    1. Choose Custom Schedule.

    2. (Optional) For Job Name, enter a description of the job.

    3. For Date and Time, click the calendar icon and select the date and time when you want the job to run.

    4. (Optional) For Repeat, select the interval at which to repeat the scheduled job. By default, the interval is set to not recur (Never).

      You can schedule the job to recur Hourly, Daily, Weekly, or Monthly.

    5. Click Install All Updates.

Removing Packages

To remove packages from a managed instance
  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.
  2. Find the instance and click its name.
  3. On the Instance Details page, under Resources, click OS Management.
  4. Click the Actions icon (three dots) and click View OS Management Details.
  5. Under Resources, click Installed Packages.
  6. In the Installed Packages section, find and select the packages you want to remove.
  7. Click Remove.
  8. In the Remove Package panel, choose when you want to remove the packages.

    To remove the packages immediately, choose Remove Now and click Remove Package.

    To schedule a job to remove the packages:

    1. Choose Custom Schedule.

    2. (Optional) For Job Name, enter a description of the job.

    3. For Date and Time, click the calendar icon and select the date and time you want the job to run.

    4. Click Remove Package.

To remove packages from a managed instance group
  1. Open the navigation menu. Under Core Infrastructure, go to Compute and click OS Management.
  2. Under OS Management, click Managed Instance Groups.
  3. In the List Scope section, select the compartment that contains the managed instance group that contains packages you want to remove.
  4. On the row of the managed instance group, click the Actions icon (three dots), and click Remove Package.
  5. In the Remove Package panel, enter the package name that you want to remove in the search box.

    If a match for the package name is found, a list of package names that match the search pattern is displayed.

  6. To remove the packages immediately, click Remove Package.

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 packages on Linux instances:

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