How To Install python3-ldappool on Fedora 36

In this tutorial we learn how to install python3-ldappool in Fedora 36. python3-ldappool is A connection pool for python-ldap

Introduction

In this tutorial we learn how to install python3-ldappool on Fedora 36.

What is python3-ldappool

A simple connector pool for python-ldap. The pool keeps LDAP connectors alive and let you reuse them, drastically reducing the time spent to initiate a ldap connection. The pool has useful features like - transparent re-connection on failures or server restarts - configurable pool size and connectors timeouts - configurable max lifetime for connectors - a context manager to simplify acquiring and releasing a connector

We can use yum or dnf to install python3-ldappool on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-ldappool.

Install python3-ldappool on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-ldappool using dnf by running the following command:

sudo dnf -y install python3-ldappool

Install python3-ldappool on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-ldappool using yum by running the following command:

sudo yum -y install python3-ldappool

How To Uninstall python3-ldappool on Fedora 36

To uninstall only the python3-ldappool package we can use the following command:

sudo dnf remove python3-ldappool

python3-ldappool Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/ldappool
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info/pbr.json
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/ldappool-2.4.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/ldappool/__init__.py
/usr/lib/python3.10/site-packages/ldappool/__pycache__
/usr/lib/python3.10/site-packages/ldappool/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ldappool/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ldappool/tests
/usr/lib/python3.10/site-packages/ldappool/tests/__init__.py
/usr/lib/python3.10/site-packages/ldappool/tests/__pycache__
/usr/lib/python3.10/site-packages/ldappool/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ldappool/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/ldappool/tests/__pycache__/test_ldapconnection.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ldappool/tests/__pycache__/test_ldapconnection.cpython-310.pyc
/usr/lib/python3.10/site-packages/ldappool/tests/__pycache__/test_ldappool.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ldappool/tests/__pycache__/test_ldappool.cpython-310.pyc
/usr/lib/python3.10/site-packages/ldappool/tests/test_ldapconnection.py
/usr/lib/python3.10/site-packages/ldappool/tests/test_ldappool.py
/usr/share/doc/python3-ldappool
/usr/share/doc/python3-ldappool/README.rst

References

Summary

In this tutorial we learn how to install python3-ldappool on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).