How To Install fonts-wqy-zenhei on Kali Linux
Introduction
In this tutorial we learn how to install fonts-wqy-zenhei on Kali Linux.
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 Kali Linux. 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 updateAfter updating apt database, We can install fonts-wqy-zenhei using apt-get by running the following command:
sudo apt-get -y install fonts-wqy-zenheiInstall fonts-wqy-zenhei Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install fonts-wqy-zenhei using apt by running the following command:
sudo apt -y install fonts-wqy-zenheiInstall fonts-wqy-zenhei Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install fonts-wqy-zenhei using aptitude by running the following command:
sudo aptitude -y install fonts-wqy-zenheiHow To Uninstall fonts-wqy-zenhei on Kali Linux
To uninstall only the fonts-wqy-zenhei package we can use the following command:
sudo apt-get remove fonts-wqy-zenheiUninstall fonts-wqy-zenhei And Its Dependencies
To uninstall fonts-wqy-zenhei and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fonts-wqy-zenheiRemove fonts-wqy-zenhei Configurations and Data
To remove fonts-wqy-zenhei configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fonts-wqy-zenheiRemove 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-zenheiDependencies
fonts-wqy-zenhei have the following dependencies:
References
Summary
In this tutorial we learn how to install fonts-wqy-zenhei package on Kali Linux using different package management tools: apt, apt-get and aptitude.