How To Install perl-Algorithm-NaiveBayes on Fedora 36

In this tutorial we learn how to install perl-Algorithm-NaiveBayes in Fedora 36. perl-Algorithm-NaiveBayes is Bayesian prediction of categories

Introduction

In this tutorial we learn how to install perl-Algorithm-NaiveBayes on Fedora 36.

What is perl-Algorithm-NaiveBayes

This module implements the classic “Naive Bayes” machine learning algorithm. It is a well-studied probabilistic algorithm often used in automatic text categorization. Compared to other algorithms (kNN, SVM, Decision Trees), it’s pretty fast and reasonably competitive in the quality of its results.

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

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

sudo dnf -y install perl-Algorithm-NaiveBayes

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

sudo yum -y install perl-Algorithm-NaiveBayes

How To Uninstall perl-Algorithm-NaiveBayes on Fedora 36

To uninstall only the perl-Algorithm-NaiveBayes package we can use the following command:

sudo dnf remove perl-Algorithm-NaiveBayes

perl-Algorithm-NaiveBayes Package Contents on Fedora 36

/usr/share/doc/perl-Algorithm-NaiveBayes
/usr/share/doc/perl-Algorithm-NaiveBayes/Changes
/usr/share/man/man3/Algorithm::NaiveBayes.3pm.gz
/usr/share/perl5/vendor_perl/Algorithm
/usr/share/perl5/vendor_perl/Algorithm/NaiveBayes
/usr/share/perl5/vendor_perl/Algorithm/NaiveBayes.pm
/usr/share/perl5/vendor_perl/Algorithm/NaiveBayes/Model
/usr/share/perl5/vendor_perl/Algorithm/NaiveBayes/Model/Discrete.pm
/usr/share/perl5/vendor_perl/Algorithm/NaiveBayes/Model/Frequency.pm
/usr/share/perl5/vendor_perl/Algorithm/NaiveBayes/Model/Gaussian.pm
/usr/share/perl5/vendor_perl/Algorithm/NaiveBayes/Util.pm

References

Summary

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