How To Install open-sans-fonts on Rocky Linux 8

In this tutorial we learn how to install open-sans-fonts on Rocky Linux 8. open-sans-fonts is Open Sans is a humanist sans-serif typeface designed by Steve Matteson

Introduction

In this tutorial we learn how to install open-sans-fonts on Rocky Linux 8.

What is open-sans-fonts

Open Sans is a humanist sans serif typeface designed by Steve Matteson, Type Director of Ascender Corp. This version contains the complete 897 character set, which includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic character sets. Open Sans was designed with an upright stress, open forms and a neutral, yet friendly appearance. It was optimized for print, web, and mobile interfaces, and has excellent legibility characteristics in its letter forms.

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

Install open-sans-fonts on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install open-sans-fonts

Install open-sans-fonts on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install open-sans-fonts

How To Uninstall open-sans-fonts on Rocky Linux 8

To uninstall only the open-sans-fonts package we can use the following command:

sudo dnf remove open-sans-fonts

open-sans-fonts Package Contents on Rocky Linux 8

/etc/fonts/conf.d/60-open-sans.conf
/usr/share/doc/open-sans-fonts
/usr/share/doc/open-sans-fonts/LICENSE.txt
/usr/share/fontconfig/conf.avail/60-open-sans.conf
/usr/share/fonts/open-sans
/usr/share/fonts/open-sans/OpenSans-Bold.ttf
/usr/share/fonts/open-sans/OpenSans-BoldItalic.ttf
/usr/share/fonts/open-sans/OpenSans-ExtraBold.ttf
/usr/share/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf
/usr/share/fonts/open-sans/OpenSans-Italic.ttf
/usr/share/fonts/open-sans/OpenSans-Light.ttf
/usr/share/fonts/open-sans/OpenSans-LightItalic.ttf
/usr/share/fonts/open-sans/OpenSans-Regular.ttf
/usr/share/fonts/open-sans/OpenSans-Semibold.ttf
/usr/share/fonts/open-sans/OpenSans-SemiboldItalic.ttf

References

Summary

In this tutorial we learn how to install open-sans-fonts on Rocky Linux 8 using yum and dnf.