How To Install perl-Text-Context-EitherSide on Fedora 36

In this tutorial we learn how to install perl-Text-Context-EitherSide in Fedora 36. perl-Text-Context-EitherSide is Get n words either side of search keywords

Introduction

In this tutorial we learn how to install perl-Text-Context-EitherSide on Fedora 36.

What is perl-Text-Context-EitherSide

Suppose you have a large piece of text - typically, say, a web page or a mail message. And now suppose you’ve done some kind of full-text search on that text for a bunch of keywords, and you want to display the context in which you found the keywords inside the body of the text.

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

Install perl-Text-Context-EitherSide 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 perl-Text-Context-EitherSide using dnf by running the following command:

sudo dnf -y install perl-Text-Context-EitherSide

Install perl-Text-Context-EitherSide 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 perl-Text-Context-EitherSide using yum by running the following command:

sudo yum -y install perl-Text-Context-EitherSide

How To Uninstall perl-Text-Context-EitherSide on Fedora 36

To uninstall only the perl-Text-Context-EitherSide package we can use the following command:

sudo dnf remove perl-Text-Context-EitherSide

perl-Text-Context-EitherSide Package Contents on Fedora 36

/usr/share/doc/perl-Text-Context-EitherSide
/usr/share/doc/perl-Text-Context-EitherSide/Changes
/usr/share/doc/perl-Text-Context-EitherSide/README
/usr/share/man/man3/Text::Context::EitherSide.3pm.gz
/usr/share/perl5/vendor_perl/Text
/usr/share/perl5/vendor_perl/Text/Context
/usr/share/perl5/vendor_perl/Text/Context/EitherSide.pm

References

Summary

In this tutorial we learn how to install perl-Text-Context-EitherSide on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).