How To Install python3-datrie on Fedora 36

In this tutorial we learn how to install python3-datrie in Fedora 36. python3-datrie is Super-fast, efficiently stored Trie for Python

Introduction

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

What is python3-datrie

The library implements the Trie data structure. The trie variable is a dict-like object that can have Unicode keys of certain ranges and Python objects as values. In addition to implementing the mapping interface, the library tries to facilitate finding the items for a given prefix, and vice versa, finding the items whose keys are prefixes of a given string. As a common special case, finding the longest-prefix item is also supported.

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

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

sudo dnf -y install python3-datrie

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

sudo yum -y install python3-datrie

How To Uninstall python3-datrie on Fedora 36

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

sudo dnf remove python3-datrie

python3-datrie Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/f33a6e4479ecbee051c54b090f89b98c244b1c
/usr/lib64/python3.10/site-packages/datrie-0.8.2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/datrie-0.8.2-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/datrie-0.8.2-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/datrie-0.8.2-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/datrie-0.8.2-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/datrie.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/python3-datrie
/usr/share/doc/python3-datrie/README.rst
/usr/share/licenses/python3-datrie
/usr/share/licenses/python3-datrie/COPYING

References

Summary

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