Editing the Package List for a Custom Software Source
Use the package list to include specific package content for a custom software source in OS Management Hub. You can add and remove individual packages or replace the package list in an existing custom software source.
- On the Software Sources list page, select the name of the software source. If you need help finding the list page, see Listing Software Sources.
- Under Resources, select Available packages.
Add packages
-
Select Add.
- On the Add packages panel, select how to identify packages:
- Select Add.
-
On the Add packages panel, select how to identify packages:
- Select from the list of available packages. Then, optionally limit the list to latest versions only. Select the packages from the list.
- Provide package list. Then, select to either Upload or Paste the package list. See Package List Format.
- Select Add.
Remove packages
- Select the packages from the list.
- Select Remove.
Replace entire package list
Provide a new package list to redefine the list of available packages in this custom software source. See Package List Format.
- From the Actions menu, select Replace.
-
On the Replace packages panel, select how to provide the list:
- Upload package list from a list file
- Paste package list
- Select Replace.
Use the oci os-management-hub software-source add-packages command and required parameters to add packages to a custom software source.
oci os-management-hub software-source add-packages --software-source-id ocid --packages packages.json [OPTIONS]
Use the oci os-management-hub software-source remove-packages command and required parameters to remove packages from a custom software source.
oci os-management-hub software-source remove-packages --software-source-id ocid --packages packages.json [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the AddPackagesToSoftwareSource operation to add packages to a custom software source.
Run the RemovePackagesFromSoftwareSource operation to remove packages from a custom software source.