How To Install perl-Text-Ngram on Fedora 36

In this tutorial we learn how to install perl-Text-Ngram in Fedora 36. perl-Text-Ngram is Ngram analysis of text

Introduction

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

What is perl-Text-Ngram

n-Gram analysis is a field in textual analysis which uses sliding window character sequences in order to aid topic analysis, language determination and so on. The n-gram spectrum of a document can be used to compare and filter documents in multiple languages, prepare word prediction networks, and perform spelling correction.

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

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

sudo dnf -y install perl-Text-Ngram

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

sudo yum -y install perl-Text-Ngram

How To Uninstall perl-Text-Ngram on Fedora 36

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

sudo dnf remove perl-Text-Ngram

perl-Text-Ngram Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/02ab4ef5ac25d8618507d98c84cf8416224b95
/usr/lib64/perl5/vendor_perl/Text
/usr/lib64/perl5/vendor_perl/Text/Ngram.pm
/usr/lib64/perl5/vendor_perl/auto/Text
/usr/lib64/perl5/vendor_perl/auto/Text/Ngram
/usr/lib64/perl5/vendor_perl/auto/Text/Ngram/Ngram.so
/usr/share/doc/perl-Text-Ngram
/usr/share/doc/perl-Text-Ngram/CREDITS
/usr/share/doc/perl-Text-Ngram/Changes
/usr/share/doc/perl-Text-Ngram/README
/usr/share/man/man3/Text::Ngram.3pm.gz

References

Summary

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