KVM: Kernel-Based Virtual Machine


First, use x86 laptop or pc.

# check if kvm avaiable (output should bigger than 0)
egrep -c '(vmx|svm)' /proc/cpuinfo

if output is 0, enable vt on BIOS.

Install KVM on fedora36

# Install required virtualization packages
sudo dnf -y install bridge-utils libvirt virt-install qemu-kvm
# Also install useful tools for virtual machine management
sudo dnf -y install libvirt-devel virt-top libguestfs-tools guestfs-tools
  1. qemu-kvm: the emulator itself
  2. libvirt-daemon: runs virtualization in background
  3. birdge-utils: important networking dependencies
  4. virt-manager: the graphical program we’ll use to work with our VMs
sudo usermod -aG libvirt aimer
sudo usermod -aG kvm aimer
sudo systemctl start libvirtd
sudo systemctl enable libvirtd

Virtual Machine Manager (or “virt-manager”)

# Install Virtual machine Manager GUI
sudo dnf -y install virt-manager