How To Install marisa on Fedora 34

marisa is Static and spece-efficient trie data structure library Static and spece-efficient trie data structure library

Introduction

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

What is marisa

Matching Algorithm with Recursively Implemented StorAge (MARISA) is a static and space-efficient trie data structure. And libmarisa is a C++ library to provide an implementation of MARISA. Also, the package of libmarisa contains a set of command line tools for building and operating a MARISA-based dictionary. A MARISA-based dictionary supports not only lookup but also reverse lookup, common prefix search and predictive search. marisa 0.2.4 49.fc34 x86_64 84 k marisa-0.2.4-49.fc34.src.rpm fedora Static and spece-efficient trie data structure library https BSD or LGPLv2+ Matching Algorithm with Recursively Implemented StorAge (MARISA) is a static and space-efficient trie data structure. And libmarisa is a C++ library to provide an implementation of MARISA. Also, the package of libmarisa contains a set of command line tools for building and operating a MARISA-based dictionary. A MARISA-based dictionary supports not only lookup but also reverse lookup, common prefix search and predictive search.

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

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

sudo dnf -y install marisa

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

sudo yum -y install marisa

How To Uninstall marisa on Fedora 34

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

sudo dnf remove marisa

marisa Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/390dbb51a069149b08f74888cbc1bf7c932f92
/usr/lib/libmarisa.so.0
/usr/lib/libmarisa.so.0.0.0
/usr/share/doc/marisa
/usr/share/doc/marisa/AUTHORS
/usr/share/doc/marisa/README
/usr/share/doc/marisa/readme.en.html
/usr/share/doc/marisa/readme.ja.html
/usr/share/doc/marisa/style.css
/usr/share/licenses/marisa
/usr/share/licenses/marisa/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/04d645adf65b04a05080eaf2b7f8bc85370c8b
/usr/lib64/libmarisa.so.0
/usr/lib64/libmarisa.so.0.0.0
/usr/share/doc/marisa
/usr/share/doc/marisa/AUTHORS
/usr/share/doc/marisa/README
/usr/share/doc/marisa/readme.en.html
/usr/share/doc/marisa/readme.ja.html
/usr/share/doc/marisa/style.css
/usr/share/licenses/marisa
/usr/share/licenses/marisa/COPYING

References

Summary

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