From: Peter Krempa Date: Fri, 9 Sep 2022 08:19:43 +0000 (+0200) Subject: docs: compiling: Add a paragraph suggesting installation from repository X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fbd6b2480aeeab048fd963c95682d7e9ce2a9a65;p=libvirt.git docs: compiling: Add a paragraph suggesting installation from repository Users should be encouraged to install libvirt from the distro's repos in the first place. Also encourage distro-specific ways to get newer versions, rather than building from source manually. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/docs/compiling.rst b/docs/compiling.rst index 7746f20bed..25dd0f4265 100644 --- a/docs/compiling.rst +++ b/docs/compiling.rst @@ -4,6 +4,26 @@ libvirt Installation .. contents:: +Installing from distribution repositories +----------------------------------------- + +This is the recommended option to install libvirt. Libvirt is present in the +package repositories of all major distributions. Installing a package from the +package manager ensures that it's properly compiled, installed, and updated +during the lifecycle of the distribution. + +For users who wish to use the most recent version, certain distributions also +allow installing the most recent versions of virtualization packages: + + **Fedora** + + Refer to https://fedoraproject.org/wiki/Virtualization_Preview_Repository + + **Gentoo** + + The ``app-emulation/libvirt`` is regularly updated, but newest versions are + usually marked as testing by the ``~*`` keyword. + Compiling a release tarball ---------------------------