How To Install python3-acora on Fedora 36
Introduction
In this tutorial we learn how to install python3-acora
on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-acora.
Install python3-acora on Fedora 36 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 Fedora 36 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 Fedora 36
To uninstall only the python3-acora
package we can use the following command:
sudo dnf remove python3-acora
python3-acora Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/90e80a0e768dd2a8ad411dab287120d41daa52
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/2585582bf99b427d8339ab6ca293cd211552f3
/usr/lib64/python3.10/site-packages/acora
/usr/lib64/python3.10/site-packages/acora-2.2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/acora-2.2-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/acora-2.2-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/acora-2.2-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/acora-2.2-py3.10.egg-info/not-zip-safe
/usr/lib64/python3.10/site-packages/acora-2.2-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/acora-2.2-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/acora/__init__.py
/usr/lib64/python3.10/site-packages/acora/__pycache__
/usr/lib64/python3.10/site-packages/acora/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/acora/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/acora/__pycache__/_acora.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/acora/__pycache__/_acora.cpython-310.pyc
/usr/lib64/python3.10/site-packages/acora/_acora.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/acora/_acora.py
/usr/lib64/python3.10/site-packages/acora/_cacora.cpython-310-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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).