summaryrefslogtreecommitdiffstats
path: root/doc/install.rst
blob: b9cba1221d2be20ba8ee78bd17291b4d0ae8871c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Installation
============

Install libgfapi-python from yum/dnf repo:

.. code-block:: console

    $ sudo yum install python-glusterfs-api

OR

Install libgfapi-python from `PyPI <https://pypi.python.org/pypi/gfapi/>`_:

.. code-block:: console

    $ sudo pip install gfapi

OR

Install libgfapi-python from source:

.. code-block:: console

   $ git clone https://review.gluster.org/libgfapi-python
   $ cd libgfapi-python
   $ sudo python setup.py install

.. note::
    libgfapi-python bindings has been tested only against **Linux x86-64** and
    Python versions **2.6** and **2.7**