How To Install fonts-wqy-zenhei on Debian 11

In this tutorial we learn how to install fonts-wqy-zenhei on Debian 11. fonts-wqy-zenhei is WenQuanYi Zen Hei A Hei-Ti Style (sans-serif) Chinese font

Introduction

In this tutorial we learn how to install fonts-wqy-zenhei on Debian 11.

What is fonts-wqy-zenhei

fonts-wqy-zenhei is:

WenQuanYi Zen Hei is a Hei-Ti style (sans-serif type) Chinese font. It was designed for general purpose text formatting and on-screen display of Chinese characters among many other languages. The embolden strokes of the font glyphs produces enhanced screen contrast, making it easier to read and recognize. The embedded bitmap glyphs further enhance on-screen performance, and can be enabled with the provided configuration files.

WenQuanYi Zen Hei provides a fairly complete coverage of 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 provides full coverage of 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 provides two font families, i.e. the proportional “WenQuanYi Zen Hei”, and the monospaced typeface named “WenQuanYi Zen Hei Mono”.

There are three methods to install fonts-wqy-zenhei on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install fonts-wqy-zenhei Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install fonts-wqy-zenhei

Install fonts-wqy-zenhei Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fonts-wqy-zenhei

Install fonts-wqy-zenhei Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install fonts-wqy-zenhei

How To Uninstall fonts-wqy-zenhei on Debian 11

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

sudo apt-get remove fonts-wqy-zenhei

Uninstall fonts-wqy-zenhei And Its Dependencies

To uninstall fonts-wqy-zenhei and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove fonts-wqy-zenhei

Remove fonts-wqy-zenhei Configurations and Data

To remove fonts-wqy-zenhei configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge fonts-wqy-zenhei

Remove fonts-wqy-zenhei configuration, data, and all of its dependencies

We can use the following command to remove fonts-wqy-zenhei configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fonts-wqy-zenhei

Dependencies

fonts-wqy-zenhei have the following dependencies:

References

Summary

In this tutorial we learn how to install fonts-wqy-zenhei package on Debian 11 using different package management tools: apt, apt-get and aptitude.