Skip to main content

Installation

Qemu Depedencies

Installing qemu base and networking manager. This command will install all of those.

sudo pacman -S qemu libvirt virt-manager dnsmasq bridge-utils nftables virt-viewer
PackagesDescriptions
qemuit'll install qemu base (for minimal installation).
libvirtManages virtual machines via QEMU/KVM.
virt-managerGUI tool to manage VMs easily.
dnsmasqProvides DHCP and DNS services for virtual networks.
bridge-utilsFor bridging host network interfaces.
nftablesFor firewall and NAT setup between VMs and host.
virt-viewerFor showing the installation process.

Enable Service

Enable service using this command :

sudo systemctl enable --now libvirtd

Quickstart

using this common command :

qemu-system-x86_64 \
-m 512M \
-boot d \
-cdrom ~/Documents/OS/alpine-standard-3.22.2-x86_64.iso \
-hda alpine.qcow2 \
-net nic \
-net user

Remote using VNC

remote-viewer vnc://localhost:5900
note

The password is root