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

In this tutorial we learn how to install wqy-zenhei-fonts.noarch in Amazon Linux 2. wqy-zenhei-fonts.noarch is WenQuanYi Zen Hei CJK Font

Introduction

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

What is wqy-zenhei-fonts.noarch

WenQuanYi Zen Hei is a Hei-Ti style (sans-serif type) Chinese outline font. It is designed for general purpose text formatting and on-screen display of Chinese characters and symbols from many other languages. The embolden strokes of the font glyphs produces enhanced screen contrast, making it easier to read recognize. The embedded bitmap glyphs further enhance on-screen performance, which can be enabled with the provided configuration files. WenQuanYi Zen Hei provides a rather complete coverage to Chinese Hanzi glyphs, including both simplified and traditional forms. The total glyph number in this font is over 35,000, including over 21,000 Chinese Hanzi. This font has full coverage to GBK(CP936) charset, CJK Unified Ideographs, as well as the code-points needed for zh_cn, zh_sg, zh_tw, zh_hk, zh_mo, ja (Japanese) and ko (Korean) locales for fontconfig. Starting from version 0.8, this font package has contained two font families, i.e. the proportionally-spaced Zen Hei, and a mono-spaced face named “WenQuanYi Zen Hei Mono”.

We can use yum to install wqy-zenhei-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-zenhei-fonts.noarch.

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

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

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

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

sudo yum remove wqy-zenhei-fonts.noarch

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

/etc/fonts/conf.d/65-0-wqy-zenhei-sharp.conf
/usr/bin/zenheiset
/usr/share/doc/wqy-zenhei-fonts-0.9.46
/usr/share/doc/wqy-zenhei-fonts-0.9.46/AUTHORS
/usr/share/doc/wqy-zenhei-fonts-0.9.46/COPYING
/usr/share/doc/wqy-zenhei-fonts-0.9.46/ChangeLog
/usr/share/doc/wqy-zenhei-fonts-0.9.46/README
/usr/share/fontconfig/conf.avail/65-0-wqy-zenhei-sharp.conf
/usr/share/fontconfig/conf.avail/65-0-wqy-zenhei.conf
/usr/share/fonts/wqy-zenhei
/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc

References

Summary

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