How To Install python3-lmdb on Fedora 36

In this tutorial we learn how to install python3-lmdb in Fedora 36. python3-lmdb is Python binding for the LMDB ‘Lightning’ Database (CPython & CFFI included)

Introduction

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

What is python3-lmdb

Python binding for the LMDB ‘Lightning’ Database (CPython & CFFI included)

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

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

sudo dnf -y install python3-lmdb

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

sudo yum -y install python3-lmdb

How To Uninstall python3-lmdb on Fedora 36

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

sudo dnf remove python3-lmdb

python3-lmdb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/979485113842dddb1b16e025fe1602f20c92d9
/usr/lib64/python3.10/site-packages/lmdb
/usr/lib64/python3.10/site-packages/lmdb-1.0.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/lmdb-1.0.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/lmdb-1.0.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/lmdb-1.0.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/lmdb-1.0.0-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/lmdb/__init__.py
/usr/lib64/python3.10/site-packages/lmdb/__main__.py
/usr/lib64/python3.10/site-packages/lmdb/__pycache__
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/__main__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/_config.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/_config.cpython-310.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/cffi.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/cffi.cpython-310.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/tool.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/lmdb/__pycache__/tool.cpython-310.pyc
/usr/lib64/python3.10/site-packages/lmdb/_config.py
/usr/lib64/python3.10/site-packages/lmdb/cffi.py
/usr/lib64/python3.10/site-packages/lmdb/cpython.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/lmdb/tool.py
/usr/share/doc/python3-lmdb
/usr/share/doc/python3-lmdb/ChangeLog
/usr/share/doc/python3-lmdb/PKG-INFO
/usr/share/licenses/python3-lmdb
/usr/share/licenses/python3-lmdb/LICENSE

References

Summary

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