From fbd6b2480aeeab048fd963c95682d7e9ce2a9a65 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 9 Sep 2022 10:19:43 +0200 Subject: [PATCH] docs: compiling: Add a paragraph suggesting installation from repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docs/compiling.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 ---------------------------