Install libalgorithm-merge-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libalgorithm-merge-perl
Description:
Perl module for three-way merge of textual data
Algorithm::Merge provides three-way merge and diff functions, complementing the functionality offered by Algorithm::Diff (libalgorithm-diff-perl). Given three sets of items, known as the original, left and right, this module can take a three-way difference or merge them. Taking a difference provides an array reference that is very similar to the behaviour of Algorithm::Diff. One can also implement custom conflict resolution using the CONFLICT callback.
Homepage: https://metacpan.org/release/Algorithm-Merge
Version: 0.08-3
Section: perl