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
This commit is contained in:
parent
6013ea80f4
commit
5121ee2fb8
@ -51,19 +51,42 @@ Linux Systems
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
This section is tested for manila on Ubuntu (12.04-64) and
|
This section is tested for manila on Ubuntu and Fedora-based
|
||||||
Fedora-based (RHEL 6.1) distributions. Feel free to add notes and
|
distributions. Feel free to add notes and change according to
|
||||||
change according to your experiences or operating system.
|
your experiences or operating system.
|
||||||
|
|
||||||
Install the prerequisite packages.
|
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 `<http://fedoraproject.org/wiki/EPEL/FAQ#howtouse>`_.
|
||||||
|
|
||||||
|
- 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
|
Mac OS X Systems
|
||||||
|
Loading…
Reference in New Issue
Block a user