Is there a way to install the full QEMU emulator in Rocky Linux?

I am currently running Rocky Linux 10.0. Is there a way to install the full QEMU emulator? It looks like the qemu-kvm package only provides the /usr/libexec/qemu-kvm binary, which seems to bee the x86_64 emulator with KVM support. I actually need a full QEMU emulator with support for all the architectures, i.e. all the binaries: qemu-system-x86_64, qemu-system-aarch64, qemu-system-mips, etc. Is there a way to install them on Rocky Linux 10.0, other than self-compiling the whole thing?

Probably the easiest way is:

dnf group install "Virtualization Host"

that will probably install the majority of stuff, but whether the other emulators will be there or not, I’ve no idea. You can search using commands like:

dnf provides */*aarch64*

to see what packages may show up relating to qemu. On one of my KVM systems, that I installed using the group install option, shows x86_64 and aarch64 although that is Rocky 9, but it should be the same for Rocky 10 too. I don’t see MIPS though, so you may find that you will need to compile it unless someone else has built and made available in an rpm repository somewhere.

Even Fedora only has x86_64 and aarch64 as well like Rocky, so if it doesn’t exist there, it definitely won’t exist in CentOS Stream or RHEL/Rocky either. At which point, that only leaves compiling yourself, or finding an rpm repo where someone has done it already if you are lucky.

Rocky is based on RHEL, so if RHEL only provide x86_64 and aarch64, then that is all Rocky gets as well.

If you’re looking for the emulators like qemu-system-* binaries/packages, unfortunately they won’t be packaged here. qemu-kvm is an EL specific build of the qemu package.

I tried to rebuild the qemu package from Fedora (it’s a couple versions newer than what we are currently shipping of qemu-kvm). It seems to build for 10 lookahead (which is our 10.2). I would imagine it will also build for 10.1 without any problems. Perhaps this is something a SIG could handle.