summaryrefslogtreecommitdiffstats
path: root/doc/install.rst
blob: 25f14fea35ce9b9da96aebad4b8de0ebcdb362aa (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 dnf 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.7** and **>=3.4**.