How To Install mecab-ipadic-EUCJP on Rocky Linux 8

In this tutorial we learn how to install mecab-ipadic-EUCJP on Rocky Linux 8. mecab-ipadic-EUCJP is IPA dictionary for Mecab with encoded by EUC-JP

Introduction

In this tutorial we learn how to install mecab-ipadic-EUCJP on Rocky Linux 8.

What is mecab-ipadic-EUCJP

MeCab IPA is a dictionary for MeCab using CRF estimation based on IPA corpus. This dictionary is for EUC-JP use.

We can use yum or dnf to install mecab-ipadic-EUCJP on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mecab-ipadic-EUCJP.

Install mecab-ipadic-EUCJP on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mecab-ipadic-EUCJP using dnf by running the following command:

sudo dnf -y install mecab-ipadic-EUCJP

Install mecab-ipadic-EUCJP on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mecab-ipadic-EUCJP using yum by running the following command:

sudo yum -y install mecab-ipadic-EUCJP

How To Uninstall mecab-ipadic-EUCJP on Rocky Linux 8

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

sudo dnf remove mecab-ipadic-EUCJP

mecab-ipadic-EUCJP Package Contents on Rocky Linux 8

/usr/lib64/mecab/dic/ipadic-EUCJP
/usr/lib64/mecab/dic/ipadic-EUCJP/char.bin
/usr/lib64/mecab/dic/ipadic-EUCJP/dicrc
/usr/lib64/mecab/dic/ipadic-EUCJP/left-id.def
/usr/lib64/mecab/dic/ipadic-EUCJP/matrix.bin
/usr/lib64/mecab/dic/ipadic-EUCJP/pos-id.def
/usr/lib64/mecab/dic/ipadic-EUCJP/rewrite.def
/usr/lib64/mecab/dic/ipadic-EUCJP/right-id.def
/usr/lib64/mecab/dic/ipadic-EUCJP/sys.dic
/usr/lib64/mecab/dic/ipadic-EUCJP/unk.dic
/usr/share/doc/mecab-ipadic-EUCJP
/usr/share/doc/mecab-ipadic-EUCJP/COPYING
/usr/share/doc/mecab-ipadic-EUCJP/LICENSE.jp.html
/usr/share/doc/mecab-ipadic-EUCJP/LICENSE.rhel
/usr/share/doc/mecab-ipadic-EUCJP/README

References

Summary

In this tutorial we learn how to install mecab-ipadic-EUCJP on Rocky Linux 8 using yum and dnf.