libvirt-glib
« Back to VersTracker
Description:
Libvirt API for glib-based programs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: virtualization libvirt glib gtk bindings gnome
Install: brew install libvirt-glib
About:
LibvirtGlib provides GObject-based bindings for the libvirt virtualization API, enabling developers to interact with hypervisors using GLib's object model and event loop. It simplifies building native Linux applications that manage virtual machines and containers by offering a convenient, high-level interface over the raw libvirt C API.
Key Features:
  • GObject-introspection bindings for easy integration with languages like Python, JavaScript, and Vala
  • Asynchronous API support compatible with GLib's main event loop
  • Object-oriented wrappers for core libvirt concepts like connections, domains, and storage pools
  • Memory management handled automatically via GObject reference counting
Use Cases:
  • Building graphical VM management tools for the Linux desktop (e.g., GNOME Boxes)
  • Developing custom automation scripts or daemons that monitor and control virtualization hosts
  • Integrating libvirt management capabilities into applications using GTK or other GLib-based toolkits
Alternatives:
  • libvirt-python – Provides direct Python bindings, whereas libvirt-glib offers a GLib-centric, language-agnostic foundation ideal for GNOME/GTK applications.
  • virt-manager (CLI) – A complete end-user application, while libvirt-glib is a library for building your own management tools.
Version History
Detected Version Rev Change Commit
Sep 14, 2025 5:37pm 0 VERSION_BUMP 3dbe775f