Install KVM, QEMU And Virt-Manager On Arch/Arch Linux based distros -
sudo pacman -S qemu virt-manager libvirt virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat ebtables libguestfs
Enable libvirtd
service
sudo systemctl enable --now libvirtd
Allow non-root user to manage virtual machines
sudo nano /etc/libvirt/libvirtd.conf
Uncomment the option “unix_sock_group” and enter the group name as “libvirt”.
After that, uncomment the option “unix_sock_rw_perms” and leave the permission as default “0770”.
Save configuration and exit
Add user to libvirt:-
sudo usermod -a -G libvirt $(whoami)
sudo systemctl restart libvirtd
Install KVM, QEMU And Virt-Manager On Ubuntu/Debian or based distros
Run this to install-
sudo apt install -y qemu qemu-kvm libvirt-daemon libvirt-clients bridge-utils virt-manager
Enable libvirtd
service
sudo systemctl enable --now libvirtd
Install KVM, QEMU and Virt-manager On Fedora/Redhat or based distros
Run this to install-
sudo dnf install @virtualization
Enable libvirtd
service
sudo systemctl start libvirtd
sudo systemctl enable libvirtd