How To Install ftgl on Fedora 34

ftgl is OpenGL frontend to Freetype 2 OpenGL frontend to Freetype 2

Introduction

In this tutorial we learn how to install ftgl on Fedora 34.

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. ftgl 2.1.3 0.24.rc5.fc34 x86_64 114 k ftgl-2.1.3-0.24.rc5.fc34.src.rpm fedora OpenGL frontend to Freetype 2 http LGPLv2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ftgl.

Install ftgl on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ftgl

Install ftgl on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove ftgl

ftgl Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/8a8c8da228727eb191d2cd40a923923c644fc6
/usr/lib/libftgl.so.2
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/1eb47271407c78b591fd72a364a51175ab23b2
/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 Fedora 34 using yum and dnf.