Installing QEMU-KVM, qemu-system-x86_64 not present

I have installed qemu-kvm but I do not have the qemu-kvm command or the qemu-system-x86_64 command, is that normal?

These are the commands that are available to me

[root@s1 ~]# qemu-
qemu-edid            qemu-img             qemu-io              qemu-keymap          qemu-nbd             qemu-pr-helper       qemu-storage-daemon  qemu-trace-stap

yeah, I don’t have 'em either (on 8.7). Seem to recall trying to find them and finding they’d been deprecated/removed/ weren’t in RHEL.

I have not installed that package alone, nor used those commands directly; I do use KVM via libvirt.


The most likely file to be executable is probably in package qemu-kvm-core:

# dnf provides *bin/qemu-kvm
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.

# dnf provides *exec/qemu-kvm
qemu-kvm-core-17:7.0.0-13.el9_1.2.x86_64 : qemu-kvm core components
Repo        : appstream
Matched from:
Other       : *exec/qemu-kvm

# dnf rq -l qemu-kvm-core-17:7.0.0-13.el9_1.2 | grep "qemu-kvm$"
Last metadata expiration check: 0:58:33 ago on Fri 07 Apr 2023 11:14:56 AM EEST.
/usr/libexec/qemu-kvm

The repositories do have multiple “groups” of packages related to virtualization:

# dnf group list --hidden | grep -E "Groups:|Virt"
Available Environment Groups:
   Virtualization Host
Installed Environment Groups:
Installed Groups:
Available Groups:
   Virtualization Hypervisor
   Virtualization Client
   Virtualization Tools
   Virtualization Platform

The qemu-kvm is in group “Virtualization Hypervisor”:

# dnf rq --groupmember qemu-kvm
qemu-kvm-17:7.0.0-13.el9.x86_64
qemu-kvm-17:7.0.0-13.el9_1.2.x86_64
  @virtualization-hypervisor

which in turn pulls only two packages:

# dnf group info virtualization-hypervisor
Group: Virtualization Hypervisor
 Description: Smallest possible virtualization host installation.
 Mandatory Packages:
   libvirt
   qemu-kvm