Installing Libvirt
- Download the Libvirt source package and upload the source package to the server.
For the download address, see Table 2.
- Decompress the Libvirt source package.
tar -xf libvirt-6.9.0.tar.xz
- 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.
Parent topic: Libvirt 6.9.0 Installation Guide (openEuler 20.03)