How To Install python3-leveldb on Fedora 36

In this tutorial we learn how to install python3-leveldb in Fedora 36. python3-leveldb is Python bindings for leveldb database library

Introduction

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

What is python3-leveldb

Thread-safe Python bindings for LevelDB. Features everything from the LevelDB API, except for arbitrary key comparison and all iteration except for single-step forward/backwards.

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

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

sudo dnf -y install python3-leveldb

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

sudo yum -y install python3-leveldb

How To Uninstall python3-leveldb on Fedora 36

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

sudo dnf remove python3-leveldb

python3-leveldb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/04592e09bc9642c3ac9eb9b8a1e9984e5b241e
/usr/lib64/python3.10/site-packages/leveldb-0.201-py3.10.egg-info
/usr/lib64/python3.10/site-packages/leveldb-0.201-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/leveldb-0.201-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/leveldb-0.201-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/leveldb-0.201-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/leveldb.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/python3-leveldb
/usr/share/doc/python3-leveldb/README
/usr/share/licenses/python3-leveldb
/usr/share/licenses/python3-leveldb/LICENSE

References

Summary

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