Installing Packages on an Instance
Install packages to install software on an Oracle Linux instance in OS Management Hub.
If an instance is a member of a group or assigned to a lifecycle environment, you can't change its contents directly. Instead, manage its content through its associated group or lifecycle environment.
If managing instances in a group or lifecycle, see:
- Adding Packages to a Group
- Updating the group manifest installs packages to instances in the group.
- Promoting a Versioned Custom Software Source to a Lifecycle Stage
- Promoting content installs all content in the versioned source to the instances in the stage.
- On the Instances list page, select the name of the instance. If you need help finding the list page, see Listing Instances.
-
Under Resources, select Packages and then select the Available packages tab.
Option 1: Select the package versions to install on the instance, and then select Install.
Tip
Use the search box to find a specific package.Option 2: Select Add packages by name. Provide a list of packages (see Package List Format). This option must be used for packages provided by third-party or private software sources.
-
Enter the details for the job that will add the packages:
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: Choose when to run the job.
- Run immediately: Select this option to run the job now.
- Schedule: Select this option to run the job at a future date and time. Select the calendar icon to select a date and time.
- 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.
- Select Install.
Use the oci os-management-hub managed-instance install-packages command and required parameters to install packages on a managed instance.
oci os-management-hub managed-instance install-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 InstallPackagesOnManagedInstance operation to install packages on a managed instance.