How To Install libchewing on Fedora 34

libchewing is Intelligent phonetic input method library for Traditional Chinese Intelligent phonetic input method library for Traditional Chinese

Introduction

In this tutorial we learn how to install libchewing on Fedora 34.

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. libchewing 0.5.1 20.fc34 x86_64 1.8 M libchewing-0.5.1-20.fc34.src.rpm fedora Intelligent phonetic input method library for Traditional Chinese http LGPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libchewing.

Install libchewing on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libchewing using dnf by running the following command:

sudo dnf -y install libchewing

Install libchewing on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libchewing

libchewing Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/9154edf51d8490a55568d58225731bc42eccc0
/usr/lib/libchewing.so.3
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/9a21d2486f4726733aeb409b2123b2fc60921e
/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 Fedora 34 using yum and dnf.