How To Install python3-ldb on Fedora 36

In this tutorial we learn how to install python3-ldb in Fedora 36. python3-ldb is Python bindings for the LDB library

Introduction

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

What is python3-ldb

Python bindings for the LDB library

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

Install python3-ldb 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-ldb using dnf by running the following command:

sudo dnf -y install python3-ldb

Install python3-ldb 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-ldb using yum by running the following command:

sudo yum -y install python3-ldb

How To Uninstall python3-ldb on Fedora 36

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

sudo dnf remove python3-ldb

python3-ldb Package Contents on Fedora 36

---
title: "How To Install python3-ldb on Fedora 36"
linkTitle: "python3-ldb"
type: "docs"
description: "In this tutorial we learn how to install python3-ldb in Fedora 36. python3-ldb is Python bindings for the LDB library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/python3-ldb-featured.png
---

## Introduction

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

### What is `python3-ldb`

> Python bindings for the LDB library  

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

## Install python3-ldb on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install python3-ldb

Install python3-ldb 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-ldb using yum by running the following command:

sudo yum -y install python3-ldb

How To Uninstall python3-ldb on Fedora 36

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

sudo dnf remove python3-ldb

python3-ldb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/9e73a80d05d3c7ad65f0977202f5830f375461
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/1d0174c8512fa3fbadccb2625012c6ad0b7455
/usr/lib64/libpyldb-util.cpython-310-x86-64-linux-gnu.so.2
/usr/lib64/libpyldb-util.cpython-310-x86-64-linux-gnu.so.2.5.0
/usr/lib64/python3.10/site-packages/__pycache__/_ldb_text.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/__pycache__/_ldb_text.cpython-310.pyc
/usr/lib64/python3.10/site-packages/_ldb_text.py
/usr/lib64/python3.10/site-packages/ldb.cpython-310-x86_64-linux-gnu.so

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/19 /usr/lib/.build-id/19/485e4d6af0e51ab6c258ba8bfa812510c98643 /usr/lib/.build-id/be /usr/lib/.build-id/be/98f6a77f19c94007cfacf5af74b68b04ee3335 /usr/lib/libpyldb-util.cpython-310-i386-linux-gnu.so.2 /usr/lib/libpyldb-util.cpython-310-i386-linux-gnu.so.2.5.0 /usr/lib/python3.10/site-packages/pycache/_ldb_text.cpython-310.opt-1.pyc /usr/lib/python3.10/site-packages/pycache/_ldb_text.cpython-310.pyc /usr/lib/python3.10/site-packages/_ldb_text.py /usr/lib/python3.10/site-packages/ldb.cpython-310-i386-linux-gnu.so


## References

* [python3-ldb website](http://ldb.samba.org/)

## Summary

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