Enable Yum Repositories

To use any of the Oracle KVM stacks, first enable the ol9_kvm_utils yum repository before installing the virtualization packages.

Ensure that the following are true before proceeding:

This task is only required when using Oracle KVM stacks. The Default KVM stack is available in the standard yum repositories and can be installed without enabling any other repositories.

Tip:

If the Oracle KVM stack is already installed and you want to switch KVM stacks, see Switch KVM Stacks.

Follow these steps to enable the ol9_kvm_utils repository.

  1. Install or update the release package:
    sudo dnf install -y oraclelinux-release-el9
  2. Enable the Oracle Linux 9 yum repository, by running the dnf config-manager command:
    sudo dnf config-manager --enable ol9_kvm_utils
After enabling the ol9_kvm_utils repository, you can install the Oracle KVM Stack. See Install Virtualization Packages.