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

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

Introduction

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

What is liberation-narrow-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 Narrow TrueType fonts that replaced commonly used Microsoft \ Arial Narrow.

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

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

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

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

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

sudo yum remove liberation-narrow-fonts.noarch

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

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

References

Summary

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