How To Install opencc.i686 on Amazon Linux 2

In this tutorial we learn how to install opencc.i686 in Amazon Linux 2. opencc.i686 is Libraries for Simplified-Traditional Chinese Conversion

Introduction

In this tutorial we learn how to install opencc.i686 on Amazon Linux 2.

What is opencc.i686

OpenCC is a library for converting characters and phrases between Traditional Chinese and Simplified Chinese.

We can use yum to install opencc.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install opencc.i686.

Install opencc.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install opencc.i686 using yum by running the following command:

sudo yum -y install opencc.i686

How To Uninstall opencc.i686 on Amazon Linux 2

To uninstall only the opencc.i686 package we can use the following command:

sudo yum remove opencc.i686

opencc.i686 Package Contents on Amazon Linux 2

/usr/lib/libopencc.so.1
/usr/lib/libopencc.so.1.0.0
/usr/share/doc/opencc-0.4.3
/usr/share/doc/opencc-0.4.3/AUTHORS
/usr/share/doc/opencc-0.4.3/LICENSE
/usr/share/doc/opencc-0.4.3/README.md
/usr/share/locale/zh_CN/LC_MESSAGES/opencc.mo
/usr/share/locale/zh_HK/LC_MESSAGES/opencc.mo
/usr/share/locale/zh_TW/LC_MESSAGES/opencc.mo
/usr/share/opencc
/usr/share/opencc/from_tw_phrases.txt
/usr/share/opencc/from_tw_variants.txt
/usr/share/opencc/mix2zhs.ini
/usr/share/opencc/mix2zht.ini
/usr/share/opencc/simp_to_trad_characters.ocd
/usr/share/opencc/simp_to_trad_phrases.ocd
/usr/share/opencc/to_cn_phrases.txt
/usr/share/opencc/to_tw_phrases.txt
/usr/share/opencc/to_tw_variants.txt
/usr/share/opencc/trad_to_simp_characters.ocd
/usr/share/opencc/trad_to_simp_phrases.ocd
/usr/share/opencc/zhs2zht.ini
/usr/share/opencc/zhs2zhtw_p.ini
/usr/share/opencc/zhs2zhtw_v.ini
/usr/share/opencc/zhs2zhtw_vp.ini
/usr/share/opencc/zht2zhs.ini
/usr/share/opencc/zht2zhtw_p.ini
/usr/share/opencc/zht2zhtw_v.ini
/usr/share/opencc/zht2zhtw_vp.ini
/usr/share/opencc/zhtw2zhcn_s.ini
/usr/share/opencc/zhtw2zhcn_t.ini
/usr/share/opencc/zhtw2zhs.ini
/usr/share/opencc/zhtw2zht.ini

References

Summary

In this tutorial we learn how to install opencc.i686 on Amazon Linux 2 using yum.