[master] f5dcaeabb Update RedHat / CentOS install instructions for >= 8

Nils Goroll nils.goroll at uplex.de
Mon Feb 3 13:15:07 UTC 2020


commit f5dcaeabba2525c5609b66001f4743ba2fbbf7f8
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Feb 3 14:11:00 2020 +0100

    Update RedHat / CentOS install instructions for >= 8
    
    Basically taken from #3204 by @gquintard
    
    - sphinx install for release 8
    - included libunwind though it is optional
    - left out libconfig libcurl and openssh-clients because
      varnish-cache does not need them

diff --git a/doc/sphinx/installation/install_source.rst b/doc/sphinx/installation/install_source.rst
index b9a95cc14..39d30a4cc 100644
--- a/doc/sphinx/installation/install_source.rst
+++ b/doc/sphinx/installation/install_source.rst
@@ -74,16 +74,34 @@ Build dependencies on Red Hat / CentOS
 
 .. gawk '/^BuildRequires/ {print "* `" $2 "`"}' ../../../redhat/varnish.spec | sort | uniq | egrep -v '(systemd)'
 
-To build Varnish on a Red Hat or CentOS system, this command should
-install required packages (replace ``sudo yum install`` if needed)::
+in the following shell commands, replace ``sudo yum install`` if needed.
 
-    sudo yum install \
+Install sphinx
+
+* On Red Hat / CentOS 8, sphinx is not included in the default
+  repositories, so execute these steps to include it from the
+  PowerTools repository::
+
+    sudo dnf install -y 'dnf-command(config-manager)'
+    sudo yum config-manager --set-enabled PowerTools
+    sudo yum install -y diffutils python3-sphinx
+
+* On Red Hat / CentOS <= 7, install sphinx::
+
+    sudo yum install -y python-sphinx
+
+The following step should conclude installation of the required
+packages::
+
+  yum install -y \
 	make \
 	autoconf \
 	automake \
 	jemalloc-devel \
+	libconfig-devel \
 	libedit-devel \
 	libtool \
+	libunwind-devel \
 	ncurses-devel \
 	pcre-devel \
 	pkgconfig \


More information about the varnish-commit mailing list