How To Install ibus-libpinyin on Rocky Linux 8

In this tutorial we learn how to install ibus-libpinyin on Rocky Linux 8. ibus-libpinyin is Intelligent Pinyin engine based on libpinyin for IBus

Introduction

In this tutorial we learn how to install ibus-libpinyin on Rocky Linux 8.

What is ibus-libpinyin

It includes a Chinese Pinyin input method and a Chinese ZhuYin (Bopomofo) input method based on libpinyin for IBus.

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

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

sudo dnf -y install ibus-libpinyin

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

sudo yum -y install ibus-libpinyin

How To Uninstall ibus-libpinyin on Rocky Linux 8

To uninstall only the ibus-libpinyin package we can use the following command:

sudo dnf remove ibus-libpinyin

ibus-libpinyin Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/a9d017c9dd8e7479c4f4c221e0ec0819470306
/usr/libexec/ibus-engine-libpinyin
/usr/libexec/ibus-setup-libpinyin
/usr/share/appdata/libpinyin.appdata.xml
/usr/share/applications/ibus-setup-libbopomofo.desktop
/usr/share/applications/ibus-setup-libpinyin.desktop
/usr/share/doc/ibus-libpinyin
/usr/share/doc/ibus-libpinyin/AUTHORS
/usr/share/doc/ibus-libpinyin/COPYING
/usr/share/doc/ibus-libpinyin/README
/usr/share/glib-2.0/schemas/com.github.libpinyin.ibus-libpinyin.gschema.xml
/usr/share/ibus-libpinyin
/usr/share/ibus-libpinyin/base.lua
/usr/share/ibus-libpinyin/db
/usr/share/ibus-libpinyin/db/english.db
/usr/share/ibus-libpinyin/db/strokes.db
/usr/share/ibus-libpinyin/icons
/usr/share/ibus-libpinyin/icons/chinese.svg
/usr/share/ibus-libpinyin/icons/english.svg
/usr/share/ibus-libpinyin/icons/full-punct.svg
/usr/share/ibus-libpinyin/icons/full.svg
/usr/share/ibus-libpinyin/icons/half-punct.svg
/usr/share/ibus-libpinyin/icons/half.svg
/usr/share/ibus-libpinyin/icons/ibus-bopomofo.svg
/usr/share/ibus-libpinyin/icons/ibus-pinyin.svg
/usr/share/ibus-libpinyin/icons/simp-chinese.svg
/usr/share/ibus-libpinyin/icons/trad-chinese.svg
/usr/share/ibus-libpinyin/setup
/usr/share/ibus-libpinyin/setup/__pycache__
/usr/share/ibus-libpinyin/setup/__pycache__/config.cpython-36.opt-1.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/config.cpython-36.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/dicttreeview.cpython-36.opt-1.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/dicttreeview.cpython-36.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/keyboardshortcut.cpython-36.opt-1.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/keyboardshortcut.cpython-36.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/main2.cpython-36.opt-1.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/main2.cpython-36.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/shortcuteditor.cpython-36.opt-1.pyc
/usr/share/ibus-libpinyin/setup/__pycache__/shortcuteditor.cpython-36.pyc
/usr/share/ibus-libpinyin/setup/config.py
/usr/share/ibus-libpinyin/setup/dicttreeview.py
/usr/share/ibus-libpinyin/setup/ibus-libpinyin-preferences.ui
/usr/share/ibus-libpinyin/setup/keyboardshortcut.py
/usr/share/ibus-libpinyin/setup/main2.py
/usr/share/ibus-libpinyin/setup/shortcuteditor.py
/usr/share/ibus-libpinyin/user.lua
/usr/share/ibus/component/libpinyin.xml
/usr/share/locale/ca/LC_MESSAGES/ibus-libpinyin.mo
/usr/share/locale/fr/LC_MESSAGES/ibus-libpinyin.mo
/usr/share/locale/ru/LC_MESSAGES/ibus-libpinyin.mo
/usr/share/locale/zh_CN/LC_MESSAGES/ibus-libpinyin.mo
/usr/share/locale/zh_HK/LC_MESSAGES/ibus-libpinyin.mo
/usr/share/locale/zh_TW/LC_MESSAGES/ibus-libpinyin.mo

References

Summary

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