How To Install libpinyin-data.i686 on Amazon Linux 2

In this tutorial we learn how to install libpinyin-data.i686 in Amazon Linux 2. libpinyin-data.i686 is Data files for libpinyin

Introduction

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

What is libpinyin-data.i686

The libpinyin-data package contains data files.

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

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

sudo yum -y install libpinyin-data.i686

How To Uninstall libpinyin-data.i686 on Amazon Linux 2

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

sudo yum remove libpinyin-data.i686

libpinyin-data.i686 Package Contents on Amazon Linux 2

/usr/lib/libpinyin/data
/usr/lib/libpinyin/data/art.bin
/usr/lib/libpinyin/data/bigram.db
/usr/lib/libpinyin/data/culture.bin
/usr/lib/libpinyin/data/economy.bin
/usr/lib/libpinyin/data/gb_char.bin
/usr/lib/libpinyin/data/gbk_char.bin
/usr/lib/libpinyin/data/geology.bin
/usr/lib/libpinyin/data/history.bin
/usr/lib/libpinyin/data/life.bin
/usr/lib/libpinyin/data/merged.bin
/usr/lib/libpinyin/data/nature.bin
/usr/lib/libpinyin/data/phrase_index.bin
/usr/lib/libpinyin/data/pinyin_index.bin
/usr/lib/libpinyin/data/scitech.bin
/usr/lib/libpinyin/data/society.bin
/usr/lib/libpinyin/data/sport.bin
/usr/lib/libpinyin/data/table.conf

References

Summary

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