How to Install and Uninstall python-diff-match-patch Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 07,2024

1. Install "python-diff-match-patch" package

Please follow the steps below to install python-diff-match-patch on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-diff-match-patch

2. Uninstall "python-diff-match-patch" package

Please follow the guidelines below to uninstall python-diff-match-patch on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-diff-match-patch $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-diff-match-patch package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-diff-match-patch
Priority: optional
Section: universe/python
Installed-Size: 156
Maintainer: Ubuntu Developers
Original-Maintainer: Stuart Prescott
Architecture: all
Version: 20121119-1
Depends: python (>= 2.7), python (<< 2.8)
Filename: pool/universe/p/python-diff-match-patch/python-diff-match-patch_20121119-1_all.deb
Size: 24286
MD5sum: 3abed6f9a2fe6fbf3019d6fe990cfa60
SHA1: 91cbc155daabcbf2d25e29f3e367150b790c2bb3
SHA256: 8fc375c65973b76192a9d930d667c22f8f087f3e1dedbf03ec2475d02408fc3e
Description-en: robust algorithms for synchronizing plain text (Python 2 module)
The Diff Match and Patch libraries offer robust algorithms to perform the
operations required for synchronizing plain text.
.
* Diff: Compare two blocks of plain text and efficiently return a list of
differences.
* Match: Given a search string, find its best fuzzy match in a block of plain
text. Weighted for both accuracy and location.
* Patch: Apply a list of patches onto plain text. Use best-effort to apply
patch even when the underlying text doesn't match.
.
This package provides the Python 2 version of the module.
Description-md5: b3fe8ea0c85570e3d012644b70e01027
Homepage: https://pypi.python.org/pypi/diff-match-patch
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m