Add documentation for installing on Debian/Ubuntu and CentOS/RHEL

This commit is contained in:
AndrewCz 2019-07-21 18:55:02 -04:00
parent 856157af79
commit b9743ef9d0
1 changed files with 26 additions and 0 deletions

View File

@ -1,9 +1,35 @@
Install
=======
Using pip
---------
Install the dependencies from the operating system's repos, and then install ldapcherry using `pip`:
.. sourcecode:: bash
# RHEL/CentOS
$ sudo yum install epel-release && sudo yum install python-pip python-devel gcc openldap-devel
# Debian/Ubuntu
$ sudo apt install python-dev python-pip libldap2-dev libsasl2-dev libssl-dev
$ pip install ldapcherry
From the sources
----------------
Install the dependencies from the operating system's repos:
.. sourcecode:: bash
# RHEL/CentOS
$ sudo yum install epel-release && sudo yum install python36-pip python36-devel python36-PyYAML gcc openldap-devel
# Debian/Ubuntu
$ sudo apt install python-dev python-pip libldap2-dev libsasl2-dev libssl-dev
Download the latest release from `GitHub <https://github.com/kakwa/ldapcherry/releases>`_.
.. sourcecode:: bash