How To Install wqy-zenhei-fonts on Fedora 36

In this tutorial we learn how to install wqy-zenhei-fonts in Fedora 36. wqy-zenhei-fonts is WenQuanYi Zen Hei CJK Font

Introduction

In this tutorial we learn how to install wqy-zenhei-fonts on Fedora 36.

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 Fedora 36. 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 Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install wqy-zenhei-fonts

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

sudo yum -y install wqy-zenhei-fonts

How To Uninstall wqy-zenhei-fonts on Fedora 36

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

sudo dnf remove wqy-zenhei-fonts

wqy-zenhei-fonts Package Contents on Fedora 36

/etc/fonts/conf.d/65-wqy-zenhei-sharp.conf
/usr/share/doc/wqy-zenhei-fonts
/usr/share/doc/wqy-zenhei-fonts/AUTHORS
/usr/share/doc/wqy-zenhei-fonts/COPYING
/usr/share/doc/wqy-zenhei-fonts/ChangeLog
/usr/share/doc/wqy-zenhei-fonts/README
/usr/share/fontconfig/conf.avail/65-wqy-zenhei-sharp.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 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).