Commit f5dcaeab authored by Nils Goroll's avatar Nils Goroll

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
parent 31252f80
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment