How To Install ftgl on Rocky Linux 8

In this tutorial we learn how to install ftgl on Rocky Linux 8. ftgl is OpenGL frontend to Freetype 2

Introduction

In this tutorial we learn how to install ftgl on Rocky Linux 8.

What is ftgl

FTGL is a free open source library to enable developers to use arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn’t need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format. FTGL uses the Freetype (www.freetype.org) font library to open and ‘decode’ the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering.

We can use yum or dnf to install ftgl on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ftgl.

Install ftgl on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ftgl

Install ftgl on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ftgl

How To Uninstall ftgl on Rocky Linux 8

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

sudo dnf remove ftgl

ftgl Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/17f4fe145ee018bb79825aa9f8ebe46bcb7b2f
/usr/lib64/libftgl.so.2
/usr/lib64/libftgl.so.2.1.3
/usr/share/doc/ftgl
/usr/share/doc/ftgl/AUTHORS
/usr/share/doc/ftgl/BUGS
/usr/share/doc/ftgl/COPYING
/usr/share/doc/ftgl/ChangeLog
/usr/share/doc/ftgl/NEWS
/usr/share/doc/ftgl/README
/usr/share/doc/ftgl/TODO

References

Summary

In this tutorial we learn how to install ftgl on Rocky Linux 8 using yum and dnf.