Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

298.2. virt-manager-5.1.0

Creates, runs and connects to libvirt/QEMU virtual machines, with virt-install, virt-clone and virt-xml

5.1.0-1 · GPL-2.0-or-later · 0.6 SBU · 5.6 MiB, 363 files · 44_apps, 419 of 422 · ports/core/virt/virt-manager

Homepage: https://virt-manager.org/

Depends on: meson, ninja, python3, glib, gettext, python3-docutils, python3-gobject, python3-cairo, python3-libvirt, python3-requests, libxml2, gtk3, vte3, gtksourceview4, gtk-vnc, spice-gtk, libosinfo, osinfo-db, libvirt-glib, libvirt, qemu, libisoburn.

Required by: no port names it.

Sources: virt-manager-5.1.0.tar.xz (1.4 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install virt-manager'

build.sh:

meson setup build --prefix=/usr --sysconfdir=/etc --libdir=lib \
	--buildtype=release \
	-Dcompile-schemas=false \
	-Dupdate-icon-cache=false \
	-Ddefault-graphics=vnc \
	-Ddefault-hvs=qemu \
	-Dtests=disabled
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

cat > "$PKG/usr/share/applications/virt-manager.desktop" <<'EOF2'
[Desktop Entry]
Type=Application
Name=Virtual Machine Manager
GenericName=Virtual Machines
Comment=Create, run and connect to virtual machines
Exec=virt-manager
Icon=virt-manager
Terminal=false
StartupWMClass=virt-manager
Categories=System;Emulator;GTK;
Keywords=virtualization;libvirt;vm;vmm;qemu;kvm;virt-manager;
EOF2
chmod 644 "$PKG/usr/share/applications/virt-manager.desktop"

Programs: virt-clone, virt-install, virt-manager, virt-xml.

Directories: /usr/share/licenses/virt-manager, /usr/share/virt-manager.