How To Install libfonts.noarch on Amazon Linux 2

In this tutorial we learn how to install libfonts.noarch in Amazon Linux 2. libfonts.noarch is TrueType Font Layouting

Introduction

In this tutorial we learn how to install libfonts.noarch on Amazon Linux 2.

What is libfonts.noarch

LibFonts is a library developed to support advanced layouting in JFreeReport. This library allows to read TrueType-Font files to extract layouting specific informations.

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

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

sudo yum -y install libfonts.noarch

How To Uninstall libfonts.noarch on Amazon Linux 2

To uninstall only the libfonts.noarch package we can use the following command:

sudo yum remove libfonts.noarch

libfonts.noarch Package Contents on Amazon Linux 2

/usr/share/doc/libfonts-1.1.3
/usr/share/doc/libfonts-1.1.3/ChangeLog.txt
/usr/share/doc/libfonts-1.1.3/README.txt
/usr/share/doc/libfonts-1.1.3/licence-LGPL.txt
/usr/share/java/libfonts-1.1.3.jar
/usr/share/java/libfonts.jar

References

Summary

In this tutorial we learn how to install libfonts.noarch on Amazon Linux 2 using yum.