How To Install libpinyin-data on Rocky Linux 8

In this tutorial we learn how to install libpinyin-data on Rocky Linux 8. libpinyin-data is Data files for libpinyin

Introduction

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

What is libpinyin-data

The libpinyin-data package contains data files.

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

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

sudo dnf -y install libpinyin-data

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

sudo yum -y install libpinyin-data

How To Uninstall libpinyin-data on Rocky Linux 8

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

sudo dnf remove libpinyin-data

libpinyin-data Package Contents on Rocky Linux 8

/usr/lib/libpinyin/data
/usr/lib/libpinyin/data/addon_phrase_index.bin
/usr/lib/libpinyin/data/addon_pinyin_index.bin
/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/opengram.bin
/usr/lib/libpinyin/data/people.bin
/usr/lib/libpinyin/data/phrase_index.bin
/usr/lib/libpinyin/data/pinyin_index.bin
/usr/lib/libpinyin/data/science.bin
/usr/lib/libpinyin/data/society.bin
/usr/lib/libpinyin/data/sport.bin
/usr/lib/libpinyin/data/table.conf
/usr/lib/libpinyin/data/technology.bin
/usr/lib64/libpinyin/data
/usr/lib64/libpinyin/data/addon_phrase_index.bin
/usr/lib64/libpinyin/data/addon_pinyin_index.bin
/usr/lib64/libpinyin/data/art.bin
/usr/lib64/libpinyin/data/bigram.db
/usr/lib64/libpinyin/data/culture.bin
/usr/lib64/libpinyin/data/economy.bin
/usr/lib64/libpinyin/data/gb_char.bin
/usr/lib64/libpinyin/data/gbk_char.bin
/usr/lib64/libpinyin/data/geology.bin
/usr/lib64/libpinyin/data/history.bin
/usr/lib64/libpinyin/data/life.bin
/usr/lib64/libpinyin/data/merged.bin
/usr/lib64/libpinyin/data/nature.bin
/usr/lib64/libpinyin/data/opengram.bin
/usr/lib64/libpinyin/data/people.bin
/usr/lib64/libpinyin/data/phrase_index.bin
/usr/lib64/libpinyin/data/pinyin_index.bin
/usr/lib64/libpinyin/data/science.bin
/usr/lib64/libpinyin/data/society.bin
/usr/lib64/libpinyin/data/sport.bin
/usr/lib64/libpinyin/data/table.conf
/usr/lib64/libpinyin/data/technology.bin

References

Summary

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