From 5121ee2fb817f338c32e1e4dd2164cbe6e7f9107 Mon Sep 17 00:00:00 2001 From: Tom Barron Date: Thu, 31 Mar 2016 14:37:42 -0400 Subject: [PATCH] update dev env doc for Fedora releases This commit updates the development environment devref document's instructions of package installation on Fedora-based releases. Change-Id: Ia35f8632c45a77fce92f48a8dd7c654a20037c9d --- doc/source/devref/development.environment.rst | 37 +++++++++++++++---- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/doc/source/devref/development.environment.rst b/doc/source/devref/development.environment.rst index 3f1713d9..68496672 100644 --- a/doc/source/devref/development.environment.rst +++ b/doc/source/devref/development.environment.rst @@ -51,19 +51,42 @@ Linux Systems .. note:: - This section is tested for manila on Ubuntu (12.04-64) and - Fedora-based (RHEL 6.1) distributions. Feel free to add notes and - change according to your experiences or operating system. + This section is tested for manila on Ubuntu and Fedora-based + distributions. Feel free to add notes and change according to + your experiences or operating system. Install the prerequisite packages. -On Ubuntu:: +- On Ubuntu/Debian:: - sudo apt-get install python-dev libssl-dev python-pip git-core libmysqlclient-dev libpq-dev + sudo apt-get install python-dev libssl-dev python-pip \ + libmysqlclient-dev libxml2-dev libxslt-dev libpq-dev git \ + git-review libffi-dev gettext graphviz libjpeg-dev -On Fedora-based distributions (e.g., Fedora/RHEL/CentOS/Scientific Linux):: +- On Fedora 21/RHEL7/Centos7:: - sudo yum install python-devel openssl-devel python-pip git libmysqlclient-dev libqp-dev + sudo yum install python-devel openssl-devel python-pip mysql-devel \ + libxml2-devel libxslt-devel postgresql-devel git git-review \ + libffi-devel gettext graphviz gcc libjpeg-turbo-devel \ + python-tox python3-devel python3 + +.. note:: + + If using RHEL and yum reports "No package python-pip available" and "No + package git-review available", use the EPEL software repository. + Instructions can be found at ``_. + +- On Fedora 22 and higher:: + + sudo dnf install python-devel openssl-devel python-pip mysql-devel \ + libxml2-devel libxslt-devel postgresql-devel git git-review \ + libffi-devel gettext graphviz gcc libjpeg-turbo-devel \ + python-tox python3-devel python3 + +.. note:: + + Additionally, if using Fedora 23, ``redhat-rpm-config`` package should be + installed so that development virtualenv can be built successfully. Mac OS X Systems