]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: compiling: Add a paragraph suggesting installation from repository
authorPeter Krempa <pkrempa@redhat.com>
Fri, 9 Sep 2022 08:19:43 +0000 (10:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 13 Sep 2022 11:36:49 +0000 (13:36 +0200)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/compiling.rst

index 7746f20bed367b63146904cc8fefcd5ea80d1b43..25dd0f426593bb106b8001934db7f6fd538f51a3 100644 (file)
@@ -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
 ---------------------------