How To Install freetype on Fedora 36

In this tutorial we learn how to install freetype in Fedora 36. freetype is A free and portable font rendering engine

Introduction

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

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.

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

Install freetype on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install freetype

Install freetype on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove freetype

freetype Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/df8b11e6ccb843c80a3a1c7b9d63a38c2357ae
/usr/lib64/libfreetype.so.6
/usr/lib64/libfreetype.so.6.18.1
/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/13
/usr/lib/.build-id/13/bd83f4858550254a9a79c980fb53171e1cc978
/usr/lib64/libfreetype.so.6
/usr/lib64/libfreetype.so.6.18.3
/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 36 using yum and [dnf]((/fedora/36/dnf/).