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

In this tutorial we learn how to install liberation-mono-fonts.noarch in Amazon Linux 2. liberation-mono-fonts.noarch is Monospace fonts to replace commonly used Microsoft Courier New

Introduction

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

What is liberation-mono-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 Monospace TrueType fonts that replaced commonly used Microsoft Courier \ New.

We can use yum to install liberation-mono-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-mono-fonts.noarch.

Install liberation-mono-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-mono-fonts.noarch using yum by running the following command:

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

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

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

sudo yum remove liberation-mono-fonts.noarch

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

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

References

Summary

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