How To Install fcitx on CentOS 8

fcitx is An input method framework

Introduction

In this tutorial we learn how to install fcitx on CentOS 8.

What is fcitx

Fcitx is an input method framework with extension support. Currently it supports Linux and Unix systems like FreeBSD. Fcitx tries to provide a native feeling under all desktop as well as a light weight core. You can easily customize it to fit your requirements.

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

Install fcitx on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install fcitx

Install fcitx on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install fcitx

How To Uninstall fcitx on CentOS 8

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

sudo dnf remove fcitx

fcitx Package Contents on CentOS 8

/etc/X11/xinit/xinput.d/fcitx.conf
/usr/bin/createPYMB
/usr/bin/fcitx
/usr/bin/fcitx-configtool
/usr/bin/fcitx-dbus-watcher
/usr/bin/fcitx-diagnose
/usr/bin/fcitx-remote
/usr/bin/fcitx-skin-installer
/usr/bin/mb2org
/usr/bin/mb2txt
/usr/bin/readPYBase
/usr/bin/readPYMB
/usr/bin/scel2org
/usr/bin/txt2mb
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/58eac076c56c775bcb77554bdfa348342e48b6
/usr/lib/.build-id/10/9bee44a7aebfb1ce7c3bcd7450aa500e4bd69a
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/29c15e2b182a61bd4fd147efaa82ead6976d2f
/usr/lib/.build-id/40
/usr/lib/.build-id/40/7e4c4a64698398d2c111f9a04d9a36a99ff3ee
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/841b6b6137f37139cce75cdbe3280f80afb988
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/f409c4daa71a32872fa0025621027ac3530f9a
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/461cba975ff085dc3afc917ecff22068953fd3
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/bc4f8de9a74898522c4fab242b747c54eeb015
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/e89cb3361798b1ec1f4051badb69150f75657f
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/ae441003a099eb4a83b93bbd4b407cdc8e96fa
/usr/share/applications/fcitx-configtool.desktop
/usr/share/applications/fcitx-skin-installer.desktop
/usr/share/applications/fcitx.desktop
/usr/share/doc/fcitx
/usr/share/doc/fcitx/AUTHORS
/usr/share/doc/fcitx/ChangeLog
/usr/share/doc/fcitx/THANKS
/usr/share/doc/fcitx/TODO
/usr/share/fcitx/dbus
/usr/share/fcitx/dbus/daemon.conf
/usr/share/licenses/fcitx
/usr/share/licenses/fcitx/COPYING
/usr/share/locale/ca/LC_MESSAGES/fcitx.mo
/usr/share/locale/da/LC_MESSAGES/fcitx.mo
/usr/share/locale/de/LC_MESSAGES/fcitx.mo
/usr/share/locale/es/LC_MESSAGES/fcitx.mo
/usr/share/locale/fr/LC_MESSAGES/fcitx.mo
/usr/share/locale/ja/LC_MESSAGES/fcitx.mo
/usr/share/locale/ko/LC_MESSAGES/fcitx.mo
/usr/share/locale/ru/LC_MESSAGES/fcitx.mo
/usr/share/locale/zh_CN/LC_MESSAGES/fcitx.mo
/usr/share/locale/zh_TW/LC_MESSAGES/fcitx.mo
/usr/share/man/man1/createPYMB.1.gz
/usr/share/man/man1/fcitx-remote.1.gz
/usr/share/man/man1/fcitx.1.gz
/usr/share/man/man1/mb2org.1.gz
/usr/share/man/man1/mb2txt.1.gz
/usr/share/man/man1/readPYBase.1.gz
/usr/share/man/man1/readPYMB.1.gz
/usr/share/man/man1/scel2org.1.gz
/usr/share/man/man1/txt2mb.1.gz
/usr/share/mime/packages/x-fskin.xml

References

Summary

In this tutorial we learn how to install fcitx on CentOS 8 using yum and dnf.