Enable Yum Repositories

To use any of the Oracle KVM Stacks, the ol8_kvm_appstream yum repository must be enabled before installing the chosen virtualization application stream module.

Note:

The Default KVM Stack is available as an application stream module in the standard yum repositories on an Oracle Linux 8 system and can be installed without enabling any other repositories. If the Oracle KVM Stack is already installed and you intend to switch KVM stacks, see Switch KVM Stacks for more details.
What Do You Need?
  • Ensure that the system meets the virtualization package requirements for the KVM application stream module that you're installing, see KVM Host: System Requirements and Virtualization Package Sources.
  • Ensure that either UEK R6 or UEK R7 is installed and running on the system.
  • Administrator privileges.

Steps

Follow these steps to enable the ol8_kvm_appstream repository.

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