How To Install python3-patiencediff on Fedora 36

In this tutorial we learn how to install python3-patiencediff in Fedora 36. python3-patiencediff is Python implementation of the patiencediff algorithm

Introduction

In this tutorial we learn how to install python3-patiencediff on Fedora 36.

What is python3-patiencediff

This package contains the implementation of the patiencediff algorithm, as first described by Bram Cohen. Like Python’s difflib, this module provides both a convenience unified_diff function for the generation of unified diffs of text files as well as a SequenceMatcher that can be used on arbitrary lists. Patiencediff provides a good balance of performance, nice output for humans, and implementation simplicity.

We can use yum or dnf to install python3-patiencediff on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-patiencediff.

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

sudo dnf -y install python3-patiencediff

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

sudo yum -y install python3-patiencediff

How To Uninstall python3-patiencediff on Fedora 36

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

sudo dnf remove python3-patiencediff

python3-patiencediff Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/76aa483ac1d663159cbad588b2a4a61c0ae8b6
/usr/lib64/python3.10/site-packages/patiencediff
/usr/lib64/python3.10/site-packages/patiencediff-0.2.2-py3.10.egg-info
/usr/lib64/python3.10/site-packages/patiencediff-0.2.2-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/patiencediff-0.2.2-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/patiencediff-0.2.2-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/patiencediff-0.2.2-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/patiencediff/__init__.py
/usr/lib64/python3.10/site-packages/patiencediff/__main__.py
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/__main__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/_patiencediff_py.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/_patiencediff_py.cpython-310.pyc
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/test_patiencediff.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/patiencediff/__pycache__/test_patiencediff.cpython-310.pyc
/usr/lib64/python3.10/site-packages/patiencediff/_patiencediff_c.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/patiencediff/_patiencediff_py.py
/usr/lib64/python3.10/site-packages/patiencediff/test_patiencediff.py
/usr/share/doc/python3-patiencediff
/usr/share/doc/python3-patiencediff/README.rst
/usr/share/licenses/python3-patiencediff
/usr/share/licenses/python3-patiencediff/COPYING

References

Summary

In this tutorial we learn how to install python3-patiencediff on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).