How To Install wqy-zenhei-fonts on CentOS 7

In this tutorial we learn how to install wqy-zenhei-fonts on CentOS 7. wqy-zenhei-fonts is WenQuanYi Zen Hei CJK Font

Introduction

In this tutorial we learn how to install wqy-zenhei-fonts on CentOS 7.

What is wqy-zenhei-fonts

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 or dnf to install wqy-zenhei-fonts on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install wqy-zenhei-fonts.

Install wqy-zenhei-fonts on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install wqy-zenhei-fonts using yum by running the following command:

sudo yum -y install wqy-zenhei-fonts

Install wqy-zenhei-fonts on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install wqy-zenhei-fonts using dnf by running the following command:

sudo dnf -y install wqy-zenhei-fonts

How To Uninstall wqy-zenhei-fonts on CentOS 7

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

sudo dnf remove wqy-zenhei-fonts

References

Summary

In this tutorial we learn how to install wqy-zenhei-fonts on CentOS 7 using yum and dnf.