How To Install wqy-microhei-fonts.noarch on Amazon Linux 2

In this tutorial we learn how to install wqy-microhei-fonts.noarch in Amazon Linux 2. wqy-microhei-fonts.noarch is Compact Chinese fonts derived from Droid

Introduction

In this tutorial we learn how to install wqy-microhei-fonts.noarch on Amazon Linux 2.

What is wqy-microhei-fonts.noarch

A new Sans Serif CJK font derived from Google’s “Droid Sans Fallback” and covers the entire GBK code points (20932 Han glyphs).

We can use yum to install wqy-microhei-fonts.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install wqy-microhei-fonts.noarch.

Install wqy-microhei-fonts.noarch 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 wqy-microhei-fonts.noarch using yum by running the following command:

sudo yum -y install wqy-microhei-fonts.noarch

How To Uninstall wqy-microhei-fonts.noarch on Amazon Linux 2

To uninstall only the wqy-microhei-fonts.noarch package we can use the following command:

sudo yum remove wqy-microhei-fonts.noarch

wqy-microhei-fonts.noarch Package Contents on Amazon Linux 2

/etc/fonts/conf.d/65-wqy-microhei.conf
/usr/share/doc/wqy-microhei-fonts-0.2.0
/usr/share/doc/wqy-microhei-fonts-0.2.0/LICENSE_Apache2.txt
/usr/share/doc/wqy-microhei-fonts-0.2.0/LICENSE_GPLv3.txt
/usr/share/doc/wqy-microhei-fonts-0.2.0/README.txt
/usr/share/fontconfig/conf.avail/65-wqy-microhei.conf
/usr/share/fonts/wqy-microhei
/usr/share/fonts/wqy-microhei/wqy-microhei.ttc

References

Summary

In this tutorial we learn how to install wqy-microhei-fonts.noarch on Amazon Linux 2 using yum.