How To Install libpinyin.i686 on Amazon Linux 2

In this tutorial we learn how to install libpinyin.i686 in Amazon Linux 2. libpinyin.i686 is Library to deal with pinyin

Introduction

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

What is libpinyin.i686

The libpinyin project aims to provide the algorithms core for intelligent sentence-based Chinese pinyin input methods.

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

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

sudo yum -y install libpinyin.i686

How To Uninstall libpinyin.i686 on Amazon Linux 2

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

sudo yum remove libpinyin.i686

libpinyin.i686 Package Contents on Amazon Linux 2

/usr/lib/libpinyin
/usr/lib/libpinyin.so.4
/usr/lib/libpinyin.so.4.0.0
/usr/share/doc/libpinyin-0.9.93
/usr/share/doc/libpinyin-0.9.93/AUTHORS
/usr/share/doc/libpinyin-0.9.93/COPYING
/usr/share/doc/libpinyin-0.9.93/README

References

Summary

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