diff --git a/docs/install.rst b/docs/install.rst index 448644d..896a576 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -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 `_. .. sourcecode:: bash