How To Install liberation-sans-fonts.noarch on Amazon Linux 2

In this tutorial we learn how to install liberation-sans-fonts.noarch in Amazon Linux 2. liberation-sans-fonts.noarch is Sans-serif fonts to replace commonly used Microsoft Arial

Introduction

In this tutorial we learn how to install liberation-sans-fonts.noarch on Amazon Linux 2.

What is liberation-sans-fonts.noarch

The Liberation Fonts are intended to be replacements for the three most commonly used fonts on Microsoft systems Arial, and Courier New. This is Sans-serif TrueType fonts that replaced commonly used Microsoft Arial.

We can use yum to install liberation-sans-fonts.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install liberation-sans-fonts.noarch.

Install liberation-sans-fonts.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install liberation-sans-fonts.noarch

How To Uninstall liberation-sans-fonts.noarch on Amazon Linux 2

To uninstall only the liberation-sans-fonts.noarch package we can use the following command:

sudo yum remove liberation-sans-fonts.noarch

liberation-sans-fonts.noarch Package Contents on Amazon Linux 2

/etc/fonts/conf.d/59-liberation-sans.conf
/usr/share/fontconfig/conf.avail/59-liberation-sans.conf
/usr/share/fonts/liberation
/usr/share/fonts/liberation/LiberationSans-Bold.ttf
/usr/share/fonts/liberation/LiberationSans-BoldItalic.ttf
/usr/share/fonts/liberation/LiberationSans-Italic.ttf
/usr/share/fonts/liberation/LiberationSans-Regular.ttf

References

Summary

In this tutorial we learn how to install liberation-sans-fonts.noarch on Amazon Linux 2 using yum.