debian12 install font

2025-03-19

To install Chinese fonts on Debian 12, you can follow these steps:

  1. Update Your System: Before installing new packages, it’s a good practice to update your system’s package list. Open a terminal and run:
sudo apt update
sudo apt upgrade
  1. Install Chinese Fonts: You can install the fonts-wqy-zenhei package, which provides full coverage for Chinese locales. Run the following command:
sudo apt install fonts-wqy-zenhei

This package includes the “WenQuanYi Zen Hei” font family, which is suitable for Chinese text .

  1. Verify Installation: After installation, you can verify that the fonts are installed correctly by checking the font list using:
fc-list | grep "WenQuanYi"
  1. Alternative Fonts: If you need additional fonts or prefer a different style, you can also consider installing the fonts-noto-cjk package, which provides a wide range of CJK (Chinese, Japanese, Korean) fonts .

By following these steps, you should be able to install and use Chinese fonts on your Debian 12 system.