How To Install graphite2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install graphite2.x86_64 in Amazon Linux 2. graphite2.x86_64 is Font rendering capabilities for complex non-Roman writing systems

Introduction

In this tutorial we learn how to install graphite2.x86_64 on Amazon Linux 2.

What is graphite2.x86_64

Graphite2 is a project within SIL’s Non-Roman Script Initiative and Language Software Development groups to provide rendering capabilities for complex non-Roman writing systems. Graphite can be used to create “smart fonts” capable of displaying writing systems with various complex behaviors. With respect to the Text Encoding Model, Graphite handles the “Rendering” aspect of writing system implementation.

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

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

sudo yum -y install graphite2.x86_64

How To Uninstall graphite2.x86_64 on Amazon Linux 2

To uninstall only the graphite2.x86_64 package we can use the following command:

sudo yum remove graphite2.x86_64

graphite2.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gr2fonttest
/usr/lib64/libgraphite2.so.3
/usr/lib64/libgraphite2.so.3.0.1
/usr/share/doc/graphite2-1.3.10
/usr/share/doc/graphite2-1.3.10/ChangeLog
/usr/share/doc/graphite2-1.3.10/README.md
/usr/share/licenses/graphite2-1.3.10
/usr/share/licenses/graphite2-1.3.10/COPYING
/usr/share/licenses/graphite2-1.3.10/LICENSE

References

Summary

In this tutorial we learn how to install graphite2.x86_64 on Amazon Linux 2 using yum.