Removing Packages from an Instance

Remove a package to uninstall it from an Oracle Linux instance in OS Management Hub.

Important

Part of a lifecycle? You can't change the instance's contents directly. Instead, manage the lifecycle.

Want to update multiple instances at once? See:

  • Select packages

    1. Select the packages to remove.
      Tip

      Use the search box to find a specific package.
    2. Select Remove.

    Add Basic Details

    Provide the basic information for the remove package job:

    • Name: Enter a name for the job. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the job. Avoid entering confidential information.

    • Description: (Optional) Enter a description for the job. Avoid entering confidential information.

    Schedule

    Select when to run the job:

    • Run immediately: Select this option to run the job now.
    • Schedule: Select this option to schedule the job to run at a future date and time.
      • Date and time: Select the calendar icon and select the date and time you want the job to run.

      • Frequency: Choose how often you want the job to run.
        • To schedule the job to run only one time, select Once. This option is the default.
        • To schedule the job to recur, select either Hour, Day, Week, or Month, and then enter the interval.
      • Automatic Retry: When selected, if the initial execution of the job fails, the service retries the job up three times. Each retry is five minutes apart.

      • Show advanced options: Add tags to this resource.

        If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, ask an administrator or skip this option. You can apply tags later.

    Review and Remove

    Review the details of the remove package job. Make any changes as needed, and then select Remove.

    View the job in the Instances details page.

  • Use the oci os-management-hub managed-instance remove-packages command and required parameters to remove packages on a managed instance.

    oci os-management-hub managed-instance remove-packages --managed-instance-id ocid --package-names package-names.json [OPTIONS]

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

  • Run the RemovePackagesFromManagedInstance operation to remove packages on a managed instance.