How To Install libchewing on Rocky Linux 8

In this tutorial we learn how to install libchewing on Rocky Linux 8. libchewing is Intelligent phonetic input method library for Traditional Chinese

Introduction

In this tutorial we learn how to install libchewing on Rocky Linux 8.

What is libchewing

libchewing is an intelligent phonetic input method library for Chinese. It provides the core algorithm and logic that can be used by various input methods. The Chewing input method is a smart bopomofo phonetics input method that is useful for inputting Mandarin Chinese.

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

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

sudo dnf -y install libchewing

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

sudo yum -y install libchewing

How To Uninstall libchewing on Rocky Linux 8

To uninstall only the libchewing package we can use the following command:

sudo dnf remove libchewing

libchewing Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/9e05a50139ba206f478caca00a104eabc585c3
/usr/lib64/libchewing.so.3
/usr/lib64/libchewing.so.3.3.1
/usr/share/doc/libchewing
/usr/share/doc/libchewing/AUTHORS
/usr/share/doc/libchewing/COPYING
/usr/share/doc/libchewing/NEWS
/usr/share/doc/libchewing/README.md
/usr/share/doc/libchewing/TODO
/usr/share/info/libchewing.info.gz
/usr/share/libchewing
/usr/share/libchewing/dictionary.dat
/usr/share/libchewing/index_tree.dat
/usr/share/libchewing/pinyin.tab
/usr/share/libchewing/swkb.dat
/usr/share/libchewing/symbols.dat

References

Summary

In this tutorial we learn how to install libchewing on Rocky Linux 8 using yum and dnf.