How To Install ftgl on AlmaLinux 8

In this tutorial we learn how to install ftgl in AlmaLinux 8. ftgl is OpenGL frontend to Freetype 2

Introduction

In this tutorial we learn how to install ftgl on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ftgl.

Install ftgl on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove ftgl

References

Summary

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