From 53254551f0ce9911251e2a7383abdf29a3ced6eb Mon Sep 17 00:00:00 2001 From: Ryan Breaker Date: Fri, 10 Mar 2017 22:09:22 -0600 Subject: [PATCH 1/2] Add missing package to CentOS section Also added Fedora 25 to header as the same packages work for it as well. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 77e0b470a3..1a9bff6945 100644 --- a/README.rst +++ b/README.rst @@ -108,10 +108,10 @@ Installing prerequisites on ArchLinux:: sudo pacman -S base-devel python2 python-pip \ python-setuptools python-virtualenv sqlite3 -Installing prerequisites on CentOS 7:: +Installing prerequisites on CentOS 7 or Fedora 25:: sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel \ - lcms2-devel libwebp-devel tcl-devel tk-devel \ + lcms2-devel libwebp-devel tcl-devel tk-devel redhat-rpm-config \ python-virtualenv libffi-devel openssl-devel sudo yum groupinstall "Development Tools" From a175963ba52c53b8ba98075b9de58d9647b44b6e Mon Sep 17 00:00:00 2001 From: Ryan Breaker Date: Mon, 13 Mar 2017 14:05:31 -0500 Subject: [PATCH 2/2] Add --upgrade pip Needed before `pip instal --upgrade setuptools` for CentOS 7 and also doesn't hurt for any other distro. --- README.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rst b/README.rst index 1a9bff6945..901d3ed13f 100644 --- a/README.rst +++ b/README.rst @@ -146,6 +146,7 @@ To install the synapse homeserver run:: virtualenv -p python2.7 ~/.synapse source ~/.synapse/bin/activate + pip install --upgrade pip pip install --upgrade setuptools pip install https://github.com/matrix-org/synapse/tarball/master