How To Install perl-mecab on Fedora 36

In this tutorial we learn how to install perl-mecab in Fedora 36. perl-mecab is Perl binding for MeCab

Introduction

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

What is perl-mecab

Perl binding for MeCab.

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

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

sudo dnf -y install perl-mecab

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

sudo yum -y install perl-mecab

How To Uninstall perl-mecab on Fedora 36

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

sudo dnf remove perl-mecab

perl-mecab Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/c2f1d6c33ba97c2f084b31511f97fc2cbcca04
/usr/lib64/perl5/vendor_perl/MeCab.pm
/usr/lib64/perl5/vendor_perl/auto/MeCab
/usr/lib64/perl5/vendor_perl/auto/MeCab/MeCab.so
/usr/share/doc/perl-mecab
/usr/share/doc/perl-mecab/AUTHORS
/usr/share/doc/perl-mecab/BSD
/usr/share/doc/perl-mecab/COPYING
/usr/share/doc/perl-mecab/GPL
/usr/share/doc/perl-mecab/LGPL
/usr/share/doc/perl-mecab/bindings.html

References

Summary

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