How To Install marisa on Rocky Linux 8

In this tutorial we learn how to install marisa on Rocky Linux 8. marisa is Static and spece-efficient trie data structure library

Introduction

In this tutorial we learn how to install marisa on Rocky Linux 8.

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.

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

Install marisa on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install marisa

Install marisa on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove marisa

marisa Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/541ca65d77a6dffa596473bb709ea216f44741
/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/e9
/usr/lib/.build-id/e9/6d002d244e1fa77eaa35eeb8a18250e7242e91
/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 Rocky Linux 8 using yum and dnf.