How To Install marisa on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install marisa on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install marisa.

Install marisa on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove marisa

References

Summary

In this tutorial we learn how to install marisa on AlmaLinux 8 using yum and dnf.