How To Install ftgl on CentOS 8
Introduction
In this tutorial we learn how to install ftgl
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ftgl.
Install ftgl 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 ftgl
using dnf
by running the following command:
sudo dnf -y install ftgl
Install ftgl 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 ftgl
using yum
by running the following command:
sudo yum -y install ftgl
How To Uninstall ftgl on CentOS 8
To uninstall only the ftgl
package we can use the following command:
sudo dnf remove ftgl
ftgl Package Contents on CentOS 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 CentOS 8 using yum and dnf.