Rate This Document
Findability
Accuracy
Completeness
Readability

Installing Libvirt

  1. Download the Libvirt source package and upload the source package to the server.

    For the download address, see Table 2.

  2. Decompress the Libvirt source package.
    tar -xf libvirt-6.9.0.tar.xz
  3. Configure, compile, and install libvirt.
    cd libvirt-6.9.0/
    meson build --prefix=/usr -Ddriver_network=enabled -Ddriver_qemu=enabled -Dstorage_rbd=enabled -Dtests=disabled -Ddocs=enabled
    ninja -C build
    ninja -C build install

    Set the libvirt compilation options as required. It is recommended that driver_qemu be enabled explicitly. Remove or add other compilation options as required.