How To Install redhat-text-fonts on CentOS 8

redhat-text-fonts is Red Hat Text fonts

Introduction

In this tutorial we learn how to install redhat-text-fonts on CentOS 8.

What is redhat-text-fonts

Red Hat Typeface is a fresh take on the geometric sans genre, taking inspiration from a range of American sans serifs including Tempo and Highway Gothic. The Display styles, made for headlines and big statements, are low contrast and spaced tightly, with a large x-height and open counters. The Text styles have a slightly smaller x-height and narrower width for better legibility, are spaced more generously, and have thinned joins for better performance at small sizes. The Mono styles are similar to the Text styles, but are adapted for better performance to render code and similar text. The three families can be used together seamlessly at a range of sizes. The fonts were originally commissioned by Paula Scher / Pentagram and designed by Jeremy Mickel / MCKL for the new Red Hat identity. This package provides the Text fonts variant.

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

Install redhat-text-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 redhat-text-fonts using dnf by running the following command:

sudo dnf -y install redhat-text-fonts

Install redhat-text-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 redhat-text-fonts using yum by running the following command:

sudo yum -y install redhat-text-fonts

How To Uninstall redhat-text-fonts on CentOS 8

To uninstall only the redhat-text-fonts package we can use the following command:

sudo dnf remove redhat-text-fonts

redhat-text-fonts Package Contents on CentOS 8

/etc/fonts/conf.d/64-redhat-text.conf
/usr/share/doc/redhat-text-fonts
/usr/share/doc/redhat-text-fonts/CHANGELOG.md
/usr/share/doc/redhat-text-fonts/README.md
/usr/share/doc/redhat-text-fonts/[email protected]
/usr/share/fontconfig/conf.avail/64-redhat-text.conf
/usr/share/fonts/redhat
/usr/share/fonts/redhat/RedHatText-Bold.otf
/usr/share/fonts/redhat/RedHatText-Bold.ttf
/usr/share/fonts/redhat/RedHatText-BoldItalic.otf
/usr/share/fonts/redhat/RedHatText-BoldItalic.ttf
/usr/share/fonts/redhat/RedHatText-Italic.otf
/usr/share/fonts/redhat/RedHatText-Italic.ttf
/usr/share/fonts/redhat/RedHatText-Light.otf
/usr/share/fonts/redhat/RedHatText-Light.ttf
/usr/share/fonts/redhat/RedHatText-LightItalic.otf
/usr/share/fonts/redhat/RedHatText-LightItalic.ttf
/usr/share/fonts/redhat/RedHatText-Medium.otf
/usr/share/fonts/redhat/RedHatText-Medium.ttf
/usr/share/fonts/redhat/RedHatText-MediumItalic.otf
/usr/share/fonts/redhat/RedHatText-MediumItalic.ttf
/usr/share/fonts/redhat/RedHatText-Regular.otf
/usr/share/fonts/redhat/RedHatText-Regular.ttf
/usr/share/fonts/redhat/RedHatTextVF-Italic[wght].ttf
/usr/share/fonts/redhat/RedHatTextVF[wght].ttf
/usr/share/licenses/redhat-text-fonts
/usr/share/licenses/redhat-text-fonts/LICENSE
/usr/share/licenses/redhat-text-fonts/LICENSE-METAINFO
/usr/share/metainfo/com.redhat.redhat-text.metainfo.xml

References

Summary

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