How To Install marisa.i686 on Amazon Linux 2

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

Introduction

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

What is marisa.i686

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

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

sudo yum -y install marisa.i686

How To Uninstall marisa.i686 on Amazon Linux 2

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

sudo yum remove marisa.i686

marisa.i686 Package Contents on Amazon Linux 2

/usr/lib/libmarisa.so.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.