How To Install libdatrie on Fedora 34

libdatrie is Implementation of Double-Array structure for representing trie Implementation of Double-Array structure for representing trie

Introduction

In this tutorial we learn how to install libdatrie on Fedora 34.

What is libdatrie

datrie is an implementation of double-array structure for representing trie. Trie is a kind of digital search tree, an efficient indexing method with O(1) time complexity for searching. Comparably as efficient as hashing, trie also provides flexibility on incremental matching and key spelling manipulation. This makes it ideal for lexical analyzers, as well as spelling dictionaries. Details of the implementation libdatrie 0.2.13 1.fc34 x86_64 32 k libdatrie-0.2.13-1.fc34.src.rpm fedora Implementation of Double-Array structure for representing trie http LGPLv2+ datrie is an implementation of double-array structure for representing trie. Trie is a kind of digital search tree, an efficient indexing method with O(1) time complexity for searching. Comparably as efficient as hashing, trie also provides flexibility on incremental matching and key spelling manipulation. This makes it ideal for lexical analyzers, as well as spelling dictionaries. Details of the implementation

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

Install libdatrie on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libdatrie

Install libdatrie on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libdatrie using yum by running the following command:

sudo yum -y install libdatrie

How To Uninstall libdatrie on Fedora 34

To uninstall only the libdatrie package we can use the following command:

sudo dnf remove libdatrie

libdatrie Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/5c196b60b718f5fd970127a586279031f945fe
/usr/lib64/libdatrie.so.1
/usr/lib64/libdatrie.so.1.4.0
/usr/share/licenses/libdatrie
/usr/share/licenses/libdatrie/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/e7c6f53edff7ddac19aff898ec00069210f1a2
/usr/lib/libdatrie.so.1
/usr/lib/libdatrie.so.1.4.0
/usr/share/licenses/libdatrie
/usr/share/licenses/libdatrie/COPYING

References

Summary

In this tutorial we learn how to install libdatrie on Fedora 34 using yum and dnf.