To install QEMU on Arch Linux: sudo pacman -S qemu How To Use QEMU.
After that, we will need to enable the libvirt service using sudo systemctl enable -now libvirtd. To install QEMU on Red Hat/CentOS/Fedora (replace dnf with yum for Red Hat/CentOS): sudo dnf install qemu qemu-kvm.
Bridge-utils : Network bridge needed for VMs Vde2: Virtual Distributed Ethernet for QEMU and other emulators.Ebtables: Filtering tool for a Linux-based bridging firewall.
Virt-manager: GUI for libvirt, a software for managing virtual machines. netdev bridge,idhn1 -device virtio-net,netdevhn1,mace6:c8:ff:09:76:99. Below is an example of these network options. KVM: The technology in the Linux kernel for using accelerated virtualization. When we bring up the QEMU guests, we will provide the -netdev option to specify a bridge that our guests will use for their network. Installation To install all needed packages, run the following code: sudo pacman -S qemu virt-manager ebtables dnsmasq vde2 Qemu: Provides the actual emulation layer. If your CPU was manufactured in the last 10 years, it should support virtualization, you will need to enter the BIOS to enable it. If nothing is displayed after this command, it means that either your CPU does not support virtualization or it is not enabled. QEMU can be installed from Homebrew: brew install qemu. Prerequisites To check whether virtualization is enabled or supported by your processor, use the following command: LC_ALL=C lscpu | grep Virtualization It should return Virtualization: VT-x for Intel processors and Virtualization: AMD-V for AMD processors. QEMU is packaged by most Linux distributions: Arch: pacman -S qemu. Why? Mainly because the kernel modules needed for KVM are part of the Linux kernel which means it would not create a mess like VirtualBox, also QEMU used together with KVM can achieve near native performance, and last but not least, they are free and open source unlike VMware. KVM/QEMU setup on Arch Linux / Reading time ~4 minutes It's time to learn how to install QEMU with KVM, which in my opinion it is the best VM software for GNU/Linux.