How To Install SDL2_ttf on Fedora 36

In this tutorial we learn how to install SDL2_ttf in Fedora 36. SDL2_ttf is TrueType font rendering library for SDL2

Introduction

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

What is SDL2_ttf

This library allows you to use TrueType fonts to render text in SDL2 applications.

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

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

sudo dnf -y install SDL2_ttf

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

sudo yum -y install SDL2_ttf

How To Uninstall SDL2_ttf on Fedora 36

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

sudo dnf remove SDL2_ttf

SDL2_ttf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/d211e74de38915309aa23362f192f8ffe56d0c
/usr/lib64/libSDL2_ttf-2.0.so.0
/usr/lib64/libSDL2_ttf-2.0.so.0.18.0
/usr/share/doc/SDL2_ttf
/usr/share/doc/SDL2_ttf/CHANGES.txt
/usr/share/doc/SDL2_ttf/README.txt
/usr/share/licenses/SDL2_ttf
/usr/share/licenses/SDL2_ttf/COPYING.txt

References

Summary

In this tutorial we learn how to install SDL2_ttf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install SDL2_ttf on Fedora 36” linkTitle: “SDL2_ttf” type: “docs” description: “In this tutorial we learn how to install SDL2_ttf in Fedora 36. SDL2_ttf is TrueType font rendering library for SDL2” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/SDL2_ttf-featured.png

Introduction

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

What is SDL2_ttf

This library allows you to use TrueType fonts to render text in SDL2 applications.

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

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

sudo dnf -y install SDL2_ttf

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

sudo yum -y install SDL2_ttf

How To Uninstall SDL2_ttf on Fedora 36

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

sudo dnf remove SDL2_ttf

SDL2_ttf Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/6e8c15e776a2af7aeb8d6cd89c58922c1c5832
/usr/lib/libSDL2_ttf-2.0.so.0
/usr/lib/libSDL2_ttf-2.0.so.0.18.0
/usr/share/doc/SDL2_ttf
/usr/share/doc/SDL2_ttf/CHANGES.txt
/usr/share/doc/SDL2_ttf/README.txt
/usr/share/licenses/SDL2_ttf
/usr/share/licenses/SDL2_ttf/COPYING.txt

References

Summary

In this tutorial we learn how to install SDL2_ttf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).