How to Install and Uninstall perl-Text-Diff Package on openSUSE Leap

Last updated: May 21,2024

1. Install "perl-Text-Diff" package

This guide let you learn how to install perl-Text-Diff on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Text-Diff

2. Uninstall "perl-Text-Diff" package

This tutorial shows how to uninstall perl-Text-Diff on openSUSE Leap:

$ sudo zypper remove perl-Text-Diff

3. Information about the perl-Text-Diff package on openSUSE Leap

Information for package perl-Text-Diff:
---------------------------------------
Repository : Main Repository
Name : perl-Text-Diff
Version : 1.45-1.20
Arch : noarch
Vendor : SUSE LLC
Installed Size : 83.6 KiB
Installed : No
Status : not installed
Source package : perl-Text-Diff-1.45-1.20.src
Upstream URL : http://search.cpan.org/dist/Text-Diff/
Summary : Perform diffs on files and record sets
Description :
'diff()' provides a basic set of services akin to the GNU 'diff' utility.
It is not anywhere near as feature complete as GNU 'diff', but it is better
integrated with Perl and available on all platforms. It is often faster
than shelling out to a system's 'diff' executable for small files, and
generally slower on larger files.
Relies on Algorithm::Diff for, well, the algorithm. This may not produce
the same exact diff as a system's local 'diff' executable, but it will be a
valid diff and comprehensible by 'patch'. We haven't seen any differences
between Algorithm::Diff's logic and GNU 'diff''s, but we have not examined
them to make sure they are indeed identical.
*Note*: If you don't want to import the 'diff' function, do one of the
following:
use Text::Diff ();
require Text::Diff;
That's a pretty rare occurrence, so 'diff()' is exported by default.
If you pass a filename, but the file can't be read, then 'diff()' will
'croak'.