How To Install qemu-kvm-core on Rocky Linux 8
Introduction
In this tutorial we learn how to install qemu-kvm-core
on Rocky Linux 8.
What is qemu-kvm-core
qemu-kvm is an open source virtualizer that provides hardware emulation for the KVM hypervisor. qemu-kvm acts as a virtual machine monitor together with the KVM kernel modules, and emulates the hardware for a full system such as a PC and its associated peripherals.
We can use yum
or dnf
to install qemu-kvm-core
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install qemu-kvm-core.
Install qemu-kvm-core on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install qemu-kvm-core
using dnf
by running the following command:
sudo dnf -y install qemu-kvm-core
Install qemu-kvm-core on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install qemu-kvm-core
using yum
by running the following command:
sudo yum -y install qemu-kvm-core
How To Uninstall qemu-kvm-core on Rocky Linux 8
To uninstall only the qemu-kvm-core
package we can use the following command:
sudo dnf remove qemu-kvm-core
qemu-kvm-core Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/94a916a002c9f07ac97d27cf99843f41ba6de3
/usr/lib/.build-id/87
/usr/lib/.build-id/87/b77c3db6c5f62aecb2cb8bc793aaea22da4e10
/usr/libexec/qemu-kvm
/usr/libexec/virtiofsd
/usr/share/icons/hicolor
/usr/share/icons/hicolor/128x128
/usr/share/icons/hicolor/128x128/apps
/usr/share/icons/hicolor/128x128/apps/qemu.png
/usr/share/icons/hicolor/16x16
/usr/share/icons/hicolor/16x16/apps
/usr/share/icons/hicolor/16x16/apps/qemu.png
/usr/share/icons/hicolor/24x24
/usr/share/icons/hicolor/24x24/apps
/usr/share/icons/hicolor/24x24/apps/qemu.png
/usr/share/icons/hicolor/256x256
/usr/share/icons/hicolor/256x256/apps
/usr/share/icons/hicolor/256x256/apps/qemu.png
/usr/share/icons/hicolor/32x32
/usr/share/icons/hicolor/32x32/apps
/usr/share/icons/hicolor/32x32/apps/qemu.bmp
/usr/share/icons/hicolor/32x32/apps/qemu.png
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/apps
/usr/share/icons/hicolor/48x48/apps/qemu.png
/usr/share/icons/hicolor/512x512
/usr/share/icons/hicolor/512x512/apps
/usr/share/icons/hicolor/512x512/apps/qemu.png
/usr/share/icons/hicolor/64x64
/usr/share/icons/hicolor/64x64/apps
/usr/share/icons/hicolor/64x64/apps/qemu.png
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/apps
/usr/share/icons/hicolor/scalable/apps/qemu.svg
/usr/share/qemu-kvm/bios-256k.bin
/usr/share/qemu-kvm/bios.bin
/usr/share/qemu-kvm/dump-guest-memory.py
/usr/share/qemu-kvm/efi-e1000.rom
/usr/share/qemu-kvm/efi-e1000e.rom
/usr/share/qemu-kvm/efi-ne2k_pci.rom
/usr/share/qemu-kvm/efi-pcnet.rom
/usr/share/qemu-kvm/efi-rtl8139.rom
/usr/share/qemu-kvm/efi-virtio.rom
/usr/share/qemu-kvm/kvmvapic.bin
/usr/share/qemu-kvm/linuxboot.bin
/usr/share/qemu-kvm/linuxboot_dma.bin
/usr/share/qemu-kvm/multiboot.bin
/usr/share/qemu-kvm/pvh.bin
/usr/share/qemu-kvm/sgabios.bin
/usr/share/qemu-kvm/systemtap/conf.d/qemu_kvm.conf
/usr/share/qemu-kvm/systemtap/script.d/qemu_kvm.stp
/usr/share/qemu-kvm/trace-events-all
/usr/share/qemu-kvm/vgabios-bochs-display.bin
/usr/share/qemu-kvm/vgabios-cirrus.bin
/usr/share/qemu-kvm/vgabios-qxl.bin
/usr/share/qemu-kvm/vgabios-ramfb.bin
/usr/share/qemu-kvm/vgabios-stdvga.bin
/usr/share/qemu-kvm/vgabios-virtio.bin
/usr/share/qemu-kvm/vgabios-vmware.bin
/usr/share/qemu-kvm/vgabios.bin
/usr/share/qemu-kvm/vhost-user/50-qemu-virtiofsd.json
/usr/share/systemtap/tapset/qemu-kvm-log.stp
/usr/share/systemtap/tapset/qemu-kvm-simpletrace.stp
/usr/share/systemtap/tapset/qemu-kvm.stp
References
Summary
In this tutorial we learn how to install qemu-kvm-core
on Rocky Linux 8 using yum and dnf.