How To Install python3-editdistance on Fedora 36
Introduction
In this tutorial we learn how to install python3-editdistance
on Fedora 36.
What is python3-editdistance
Fast implementation of the edit distance (Levenshtein distance). This library simply implements Levenshtein distance with C++ and Cython. The algorithm used in this library is proposed by Heikki Hyyrö, “Explaining and extending the bit-parallel approximate string matching algorithm of Myers”, (2001).
We can use yum
or dnf
to install python3-editdistance
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-editdistance.
Install python3-editdistance 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-editdistance
using dnf
by running the following command:
sudo dnf -y install python3-editdistance
Install python3-editdistance 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-editdistance
using yum
by running the following command:
sudo yum -y install python3-editdistance
How To Uninstall python3-editdistance on Fedora 36
To uninstall only the python3-editdistance
package we can use the following command:
sudo dnf remove python3-editdistance
python3-editdistance Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/b704c804aecd134e86d387a92dad27f9644f82
/usr/lib64/python3.10/site-packages/editdistance
/usr/lib64/python3.10/site-packages/editdistance-0.6.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/editdistance-0.6.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/editdistance-0.6.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/editdistance-0.6.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/editdistance-0.6.0-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/editdistance/__init__.py
/usr/lib64/python3.10/site-packages/editdistance/__pycache__
/usr/lib64/python3.10/site-packages/editdistance/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/editdistance/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/editdistance/bycython.cpython-310-x86_64-linux-gnu.so
/usr/share/doc/python3-editdistance
/usr/share/doc/python3-editdistance/README.rst
/usr/share/licenses/python3-editdistance
/usr/share/licenses/python3-editdistance/LICENSE
References
Summary
In this tutorial we learn how to install python3-editdistance
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).