How To Install wqy-unibit-fonts on CentOS 8

wqy-unibit-fonts is WenQuanYi Unibit Bitmap Font

Introduction

In this tutorial we learn how to install wqy-unibit-fonts on CentOS 8.

What is wqy-unibit-fonts

The Wen Quan Yi Unibit is designed as a dual-width (16x16,16x8) bitmap font to provide the most complete international symbol coverage, serving as the system-wide fall-back font. This font has covered over 46000 Unicode code points in BMP. It is intended to supersede the outdated GNU Unifont. This font was created by merging the latest update of GNU Unifont [GPL] (by Roman Czyborra and David Starner et al., the font was last updated in 2004), WenQuanYi Bitmap Song [GPL] 0.8.1 (by Qianqian Fang and WenQuanYi contributors) and Fixed-16x8 [public domain] bitmap fonts from X11 core fonts. The entire CJK Unified Ideographics (U4E00-U9FA5) and CJK Unified Ideographics Extension A(U3400-U4DB5) blocks were replaced by high-quality glyphs from China National Standard GB19966-2005 (public domain). Near a thousand of non-CJK characters were improved by WenQuanYi contributors via their collaborative font editing website at http

We can use yum or dnf to install wqy-unibit-fonts on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install wqy-unibit-fonts.

Install wqy-unibit-fonts on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install wqy-unibit-fonts using dnf by running the following command:

sudo dnf -y install wqy-unibit-fonts

Install wqy-unibit-fonts on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install wqy-unibit-fonts

How To Uninstall wqy-unibit-fonts on CentOS 8

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

sudo dnf remove wqy-unibit-fonts

wqy-unibit-fonts Package Contents on CentOS 8

/usr/share/doc/wqy-unibit-fonts
/usr/share/doc/wqy-unibit-fonts/AUTHORS
/usr/share/doc/wqy-unibit-fonts/COPYING
/usr/share/doc/wqy-unibit-fonts/ChangeLog
/usr/share/doc/wqy-unibit-fonts/README
/usr/share/fonts/wqy-unibit
/usr/share/fonts/wqy-unibit/wqy-unibit.pcf

References

Summary

In this tutorial we learn how to install wqy-unibit-fonts on CentOS 8 using yum and dnf.