How To Install marisa on CentOS 8
Introduction
In this tutorial we learn how to install marisa on CentOS 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. 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install marisa.
Install marisa on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install marisa using yum by running the following command:
sudo yum -y install marisa
Install marisa on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install marisa using dnf by running the following command:
sudo dnf -y install marisa
How To Uninstall marisa on CentOS 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 CentOS 8 using yum and dnf.