How To Install redhat-mono-fonts on CentOS 8
Introduction
In this tutorial we learn how to install redhat-mono-fonts
on CentOS 8.
What is redhat-mono-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 Monospace fonts variant.
We can use yum
or dnf
to install redhat-mono-fonts
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install redhat-mono-fonts.
Install redhat-mono-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-mono-fonts
using dnf
by running the following command:
sudo dnf -y install redhat-mono-fonts
Install redhat-mono-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-mono-fonts
using yum
by running the following command:
sudo yum -y install redhat-mono-fonts
How To Uninstall redhat-mono-fonts on CentOS 8
To uninstall only the redhat-mono-fonts
package we can use the following command:
sudo dnf remove redhat-mono-fonts
redhat-mono-fonts Package Contents on CentOS 8
/etc/fonts/conf.d/64-redhat-mono.conf
/usr/share/doc/redhat-mono-fonts
/usr/share/doc/redhat-mono-fonts/CHANGELOG.md
/usr/share/doc/redhat-mono-fonts/README.md
/usr/share/doc/redhat-mono-fonts/[email protected]
/usr/share/fontconfig/conf.avail/64-redhat-mono.conf
/usr/share/fonts/redhat
/usr/share/fonts/redhat/RedHatMono-Bold.otf
/usr/share/fonts/redhat/RedHatMono-Bold.ttf
/usr/share/fonts/redhat/RedHatMono-BoldItalic.otf
/usr/share/fonts/redhat/RedHatMono-BoldItalic.ttf
/usr/share/fonts/redhat/RedHatMono-Italic.otf
/usr/share/fonts/redhat/RedHatMono-Italic.ttf
/usr/share/fonts/redhat/RedHatMono-Light.otf
/usr/share/fonts/redhat/RedHatMono-Light.ttf
/usr/share/fonts/redhat/RedHatMono-LightItalic.otf
/usr/share/fonts/redhat/RedHatMono-LightItalic.ttf
/usr/share/fonts/redhat/RedHatMono-Medium.otf
/usr/share/fonts/redhat/RedHatMono-Medium.ttf
/usr/share/fonts/redhat/RedHatMono-MediumItalic.otf
/usr/share/fonts/redhat/RedHatMono-MediumItalic.ttf
/usr/share/fonts/redhat/RedHatMono-Regular.otf
/usr/share/fonts/redhat/RedHatMono-Regular.ttf
/usr/share/fonts/redhat/RedHatMonoVF-Italic[wght].ttf
/usr/share/fonts/redhat/RedHatMonoVF[wght].ttf
/usr/share/licenses/redhat-mono-fonts
/usr/share/licenses/redhat-mono-fonts/LICENSE
/usr/share/licenses/redhat-mono-fonts/LICENSE-METAINFO
/usr/share/metainfo/com.redhat.redhat-mono.metainfo.xml
References
Summary
In this tutorial we learn how to install redhat-mono-fonts
on CentOS 8 using yum and dnf.