[PATCH 1/6] docs: compiling: Add a paragraph suggesting installation from repository

Peter Krempa pkrempa at redhat.com
Fri Sep 9 14:06:07 UTC 2022


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 <pkrempa at redhat.com>
---
 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
 ---------------------------

-- 
2.37.1



More information about the libvir-list mailing list