summaryrefslogtreecommitdiff
path: root/docs/installation.rst
blob: 72d7b0828cffd2d606f203791c824111268774d9 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Installing OAuthLib
===================

The recommended way to install OAuthLib is from PyPI but if you are running
into a bug or want to try out recently implemented features you will want to
try installing directly from the GitHub master branch.

For various reasons you may wish to install using your OS packaging system and
install instructions for a few are shown below. Please send a PR to add a
missing one.

Latest release on PyPI
----------------------


.. code-block:: bash

    pip install oauthlib

Bleeding edge from GitHub master
--------------------------------

.. code-block:: bash

    pip install -e git+https://github.com/oauthlib/oauthlib.git#egg=oauthlib

Debian and derivatives like Ubuntu, Mint, etc.
---------------------------------------------

.. code-block:: bash

    apt-get install python-oauthlib
    apt-get install python3-oauthlib

Redhat and Fedora
-----------------

.. code-block:: bash

    yum install python-oauthlib
    yum install python3-oauthlib

openSUSE
--------

.. code-block:: bash

    zypper in python-oauthlib
    zypper in python3-oauthlib

Gentoo
------

.. code-block:: bash

    emerge oauthlib

Arch
----

.. code-block:: bash

    pacman -S python-oauthlib
    pacman -S python2-oauthlib

FreeBSD
-------

.. code-block:: bash

    pkg_add -r security/py-oauthlib/