How To Install python3-acora on Rocky Linux 8

In this tutorial we learn how to install python3-acora on Rocky Linux 8. python3-acora is A Python multi-keyword text search engine

Introduction

In this tutorial we learn how to install python3-acora on Rocky Linux 8.

What is python3-acora

Acora is ‘fgrep’ for Python, a fast multi-keyword text search engine. Based on a set of keywords and the Aho-Corasick algorithm, it generates a search automaton and runs it over string input, either unicode or bytes. Acora comes with both a pure Python implementation and a fast binary module written in Cython. However, note that the current construction algorithm is not suitable for really large sets of keywords (i.e. more than a couple of thousand).

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

Install python3-acora 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 python3-acora using dnf by running the following command:

sudo dnf -y install python3-acora

Install python3-acora 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 python3-acora using yum by running the following command:

sudo yum -y install python3-acora

How To Uninstall python3-acora on Rocky Linux 8

To uninstall only the python3-acora package we can use the following command:

sudo dnf remove python3-acora

python3-acora Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/4344167f1029a8e44cd5915c0668735196b389
/usr/lib/.build-id/46
/usr/lib/.build-id/46/e85e6c712dc84c0edc929daabc706ee31dcca5
/usr/lib64/python3.6/site-packages/acora
/usr/lib64/python3.6/site-packages/acora-2.2-py3.6.egg-info
/usr/lib64/python3.6/site-packages/acora-2.2-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/acora-2.2-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/acora-2.2-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/acora-2.2-py3.6.egg-info/not-zip-safe
/usr/lib64/python3.6/site-packages/acora-2.2-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/acora-2.2-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/acora/__init__.py
/usr/lib64/python3.6/site-packages/acora/__pycache__
/usr/lib64/python3.6/site-packages/acora/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/acora/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/acora/__pycache__/_acora.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/acora/__pycache__/_acora.cpython-36.pyc
/usr/lib64/python3.6/site-packages/acora/_acora.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/acora/_acora.py
/usr/lib64/python3.6/site-packages/acora/_cacora.cpython-36m-x86_64-linux-gnu.so
/usr/share/doc/python3-acora
/usr/share/doc/python3-acora/README.rst
/usr/share/licenses/python3-acora
/usr/share/licenses/python3-acora/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-acora on Rocky Linux 8 using yum and dnf.