How To Install freetype on Fedora 34

freetype is A free and portable font rendering engine A free and portable font rendering engine

Introduction

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

What is freetype

The FreeType engine is a free and portable font rendering engine, developed to provide advanced font support for a variety of platforms and environments. FreeType is a library which can open and manages font files as well as efficiently load, hint and render individual glyphs. FreeType is not a font server or a complete text-rendering library. freetype 2.10.4 3.fc34 x86_64 394 k freetype-2.10.4-3.fc34.src.rpm fedora A free and portable font rendering engine http (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement The FreeType engine is a free and portable font rendering engine, developed to provide advanced font support for a variety of platforms and environments. FreeType is a library which can open and manages font files as well as efficiently load, hint and render individual glyphs. FreeType is not a font server or a complete text-rendering library.

We can use yum or dnf to install freetype on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install freetype.

Install freetype 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 freetype using dnf by running the following command:

sudo dnf -y install freetype

Install freetype 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 freetype using yum by running the following command:

sudo yum -y install freetype

How To Uninstall freetype on Fedora 34

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

sudo dnf remove freetype

freetype Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/9cb6801df86b8dd0479a69c63c5d4d024abbd7
/usr/lib64/libfreetype.so.6
/usr/lib64/libfreetype.so.6.17.4
/usr/share/doc/freetype
/usr/share/doc/freetype/README
/usr/share/licenses/freetype
/usr/share/licenses/freetype/FTL.TXT
/usr/share/licenses/freetype/GPLv2.TXT
/usr/share/licenses/freetype/LICENSE.TXT
/usr/lib/.build-id
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/4a587364d1388fd9a56611040d3329781d2334
/usr/lib/libfreetype.so.6
/usr/lib/libfreetype.so.6.17.4
/usr/share/doc/freetype
/usr/share/doc/freetype/README
/usr/share/licenses/freetype
/usr/share/licenses/freetype/FTL.TXT
/usr/share/licenses/freetype/GPLv2.TXT
/usr/share/licenses/freetype/LICENSE.TXT

References

Summary

In this tutorial we learn how to install freetype on Fedora 34 using yum and dnf.