How To Install xfonts-wqy on Debian 9
Introduction
In this tutorial we learn how to install xfonts-wqy
on Debian 9.
What is xfonts-wqy
xfonts-wqy is:
The Wen Quan Yi bitmap font is a manually fine-tuned multi-strike bitmap font for on-screen display of Chinese (traditional and simplified). It has arguably the most complete coverage for Chinese characters among all known open-source bitmap fonts, including CJK Unified Ideograph (U4E00 - U9FA5) and CJK Unified Ideograph Extension A (U3400 - U4DB5) glyphs at four different sizes (9pt-12x12 pixel, 10pt-13x13 pixel, 11pt-15x15 pixel, 12pt-16x16 pixel) and two weights (medium and bold).
Use of this font in web pages and elsewhere eliminates the annoying “blurring” problems caused by the high stroke density of many Chinese characters and insufficient “hinting” of anti-aliased Chinese fonts.
This font also provides bitmap glyphs for Basic Latin, Japanese Hiragana (U3040 - U309F) and Katakana (U30A0 - U30FF).
There are three methods to install xfonts-wqy
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xfonts-wqy Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xfonts-wqy
using apt-get
by running the following command:
sudo apt-get -y install xfonts-wqy
Install xfonts-wqy Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xfonts-wqy
using apt
by running the following command:
sudo apt -y install xfonts-wqy
Install xfonts-wqy 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 xfonts-wqy
using aptitude
by running the following command:
sudo aptitude -y install xfonts-wqy
How To Uninstall xfonts-wqy on Debian 9
To uninstall only the xfonts-wqy
package we can use the following command:
sudo apt-get remove xfonts-wqy
Uninstall xfonts-wqy And Its Dependencies
To uninstall xfonts-wqy
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove xfonts-wqy
Remove xfonts-wqy Configurations and Data
To remove xfonts-wqy
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge xfonts-wqy
Remove xfonts-wqy configuration, data, and all of its dependencies
We can use the following command to remove xfonts-wqy
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xfonts-wqy
Dependencies
xfonts-wqy have the following dependencies:
References
Summary
In this tutorial we learn how to install xfonts-wqy
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.