How To Install xorg-x11-font-utils on CentOS 8

xorg-x11-font-utils is X.Org X11 font utilities

Introduction

In this tutorial we learn how to install xorg-x11-font-utils on CentOS 8.

What is xorg-x11-font-utils

X.Org X11 font utilities required for font installation, conversion, and generation.

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

Install xorg-x11-font-utils 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 xorg-x11-font-utils using dnf by running the following command:

sudo dnf -y install xorg-x11-font-utils

Install xorg-x11-font-utils 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 xorg-x11-font-utils using yum by running the following command:

sudo yum -y install xorg-x11-font-utils

How To Uninstall xorg-x11-font-utils on CentOS 8

To uninstall only the xorg-x11-font-utils package we can use the following command:

sudo dnf remove xorg-x11-font-utils

xorg-x11-font-utils Package Contents on CentOS 8

/usr/bin/bdftopcf
/usr/bin/fonttosfnt
/usr/bin/mkfontdir
/usr/bin/mkfontscale
/usr/bin/ucs2any
/usr/bin/xorg-x11-fonts-update-dirs
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/8a310167a8ca19410a8efe704d77f25315c8c6
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/ec057bc1b578fd1ca1ac2c6a6f45c528abcb57
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/42858c749d3b8da2f629c60c7ff26ba31d607e
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/b26ebae6ec2928d63651118804ec3fa4914287
/usr/lib64/pkgconfig/fontutil.pc
/usr/share/X11/fonts
/usr/share/X11/fonts/util
/usr/share/X11/fonts/util/map-ISO8859-1
/usr/share/X11/fonts/util/map-ISO8859-10
/usr/share/X11/fonts/util/map-ISO8859-11
/usr/share/X11/fonts/util/map-ISO8859-13
/usr/share/X11/fonts/util/map-ISO8859-14
/usr/share/X11/fonts/util/map-ISO8859-15
/usr/share/X11/fonts/util/map-ISO8859-16
/usr/share/X11/fonts/util/map-ISO8859-2
/usr/share/X11/fonts/util/map-ISO8859-3
/usr/share/X11/fonts/util/map-ISO8859-4
/usr/share/X11/fonts/util/map-ISO8859-5
/usr/share/X11/fonts/util/map-ISO8859-6
/usr/share/X11/fonts/util/map-ISO8859-7
/usr/share/X11/fonts/util/map-ISO8859-8
/usr/share/X11/fonts/util/map-ISO8859-9
/usr/share/X11/fonts/util/map-JISX0201.1976-0
/usr/share/X11/fonts/util/map-KOI8-R
/usr/share/aclocal/fontutil.m4
/usr/share/doc/xorg-x11-font-utils
/usr/share/doc/xorg-x11-font-utils/COPYING-bdftopcf
/usr/share/doc/xorg-x11-font-utils/COPYING-font-util
/usr/share/doc/xorg-x11-font-utils/COPYING-fonttosfnt
/usr/share/doc/xorg-x11-font-utils/COPYING-mkfontdir
/usr/share/doc/xorg-x11-font-utils/COPYING-mkfontscale
/usr/share/doc/xorg-x11-font-utils/README-bdftopcf
/usr/share/doc/xorg-x11-font-utils/README-font-util
/usr/share/doc/xorg-x11-font-utils/README-fonttosfnt
/usr/share/doc/xorg-x11-font-utils/README-mkfontdir
/usr/share/doc/xorg-x11-font-utils/README-mkfontscale
/usr/share/man/man1/bdftopcf.1.gz
/usr/share/man/man1/fonttosfnt.1.gz
/usr/share/man/man1/mkfontdir.1.gz
/usr/share/man/man1/mkfontscale.1.gz
/usr/share/man/man1/ucs2any.1.gz
/usr/share/man/man1/xorg-x11-fonts-update-dirs.1.gz

References

Summary

In this tutorial we learn how to install xorg-x11-font-utils on CentOS 8 using yum and dnf.