How To Install graphite2 on CentOS 8

graphite2 is Font rendering capabilities for complex non-Roman writing systems Font rendering capabilities for complex non-Roman writing systems

Introduction

In this tutorial we learn how to install graphite2 on CentOS 8.

What is graphite2

Graphite2 is a project within SIL\u2019s 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 \u201csmart fonts\u201d 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. graphite2 1.3.10 10.el8 x86_64 122 k graphite2-1.3.10-10.el8.src.rpm appstream Font rendering capabilities for complex non-Roman writing systems https (LGPLv2+ or GPLv2+ or MPL) and (Netscape or GPLv2+ or LGPLv2+) Graphite2 is a project within SIL\u2019s 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 \u201csmart fonts\u201d 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 or dnf to install graphite2 on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install graphite2.

Install graphite2 on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install graphite2 using dnf by running the following command:

sudo dnf -y install graphite2

Install graphite2 on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install graphite2 using yum by running the following command:

sudo yum -y install graphite2

How To Uninstall graphite2 on CentOS 8

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

sudo dnf remove graphite2

graphite2 Package Contents on CentOS 8

/usr/bin/gr2fonttest
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/848f626f1d4ed99dcf323e86dacd9d4ed4a457
/usr/lib/.build-id/17
/usr/lib/.build-id/17/23519784f6e514bef5d941fb8ee099099ef67e
/usr/lib/libgraphite2.so.3
/usr/lib/libgraphite2.so.3.0.1
/usr/share/doc/graphite2
/usr/share/doc/graphite2/ChangeLog
/usr/share/doc/graphite2/README.md
/usr/share/licenses/graphite2
/usr/share/licenses/graphite2/COPYING
/usr/share/licenses/graphite2/LICENSE
/usr/bin/gr2fonttest
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/524a35af8788ad0d2e509f1ba72face14297de
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/07c31db14738b8243b68bb4facac7c46117e47
/usr/lib64/libgraphite2.so.3
/usr/lib64/libgraphite2.so.3.0.1
/usr/share/doc/graphite2
/usr/share/doc/graphite2/ChangeLog
/usr/share/doc/graphite2/README.md
/usr/share/licenses/graphite2
/usr/share/licenses/graphite2/COPYING
/usr/share/licenses/graphite2/LICENSE

References

Summary

In this tutorial we learn how to install graphite2 on CentOS 8 using yum and dnf.