Installing a font for the Chinese standard GB 18030 character set
Environment
- RHEL 9
- RHEL 8
- RHEL 7
Issue
How can I install a certified font that supports the Chinese GB 18030 character set?
Resolution
GB18030 TrueType Chinese Character Song Font designed and manufactured by Beijing Zhong Yi Electronics Co. for the China National Standard, has been appraised by China authorized department and tested by the China Electronics Standardization Institute.
The Zhong Yi Song font is officially certified by the Chinese government as correctly covering the GB18030 standard character set.
Warning
End users are not permitted to redistribute this font.
Revision coverage
- The older
zhongyi-song-fontspackage version 0.1 supports the obsolete GB18030-2000/GB18030-2005 revision. - The
zhongyi-song-fontspackage version 3.0 or later supports the current GB18030-2022 revision Level 2 of the Chinese standard.
Procedure
To install the Zhong Yi Song font:
-
Register your RHEL installation:
-
Enable the Supplementary repository:
-
On RHEL 9 with the x64 architecture:
# subscription-manager repos --enable rhel-9-for-x86_64-supplementary-rpms -
On RHEL 9 with the ARM64 architecture:
# subscription-manager repos --enable rhel-9-for-aarch64-supplementary-rpms -
On RHEL 8 with the x64 architecture:
# subscription-manager repos --enable rhel-8-for-x86_64-supplementary-rpms -
On RHEL 8 with the ARM64 architecture:
# subscription-manager repos --enable rhel-8-for-aarch64-supplementary-rpms -
On RHEL 7 with the x64 architecture:
# subscription-manager repos --enable rhel-7-server-supplementary-rpms
-
-
Install the
zhongyi-song-fontspackage:-
On RHEL 9:
# dnf install zhongyi-song-fonts -
On RHEL 8:
# yum install zhongyi-song-fonts -
On RHEL 7:
# yum install zhongyi-song-fonts
-
Root Cause
The zhongyi-song-fonts package is proprietary and can only be distributed in the RHEL Supplementary package repo.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.