How To Install marisa.x86_64 on Amazon Linux 2

In this tutorial we learn how to install marisa.x86_64 in Amazon Linux 2. marisa.x86_64 is Static and spece-efficient trie data structure library

Introduction

In this tutorial we learn how to install marisa.x86_64 on Amazon Linux 2.

What is marisa.x86_64

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 to install marisa.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install marisa.x86_64.

Install marisa.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install marisa.x86_64

How To Uninstall marisa.x86_64 on Amazon Linux 2

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

sudo yum remove marisa.x86_64

marisa.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libmarisa.so.0
/usr/lib64/libmarisa.so.0.0.0
/usr/share/doc/marisa-0.2.4
/usr/share/doc/marisa-0.2.4/AUTHORS
/usr/share/doc/marisa-0.2.4/COPYING
/usr/share/doc/marisa-0.2.4/README
/usr/share/doc/marisa-0.2.4/readme.en.html
/usr/share/doc/marisa-0.2.4/readme.ja.html
/usr/share/doc/marisa-0.2.4/style.css

References

Summary

In this tutorial we learn how to install marisa.x86_64 on Amazon Linux 2 using yum.