How To Install mingw64-SDL_ttf on Fedora 36

In this tutorial we learn how to install mingw64-SDL_ttf in Fedora 36. mingw64-SDL_ttf is MinGW Windows port of the TrueType font handling library for SDL

Introduction

In this tutorial we learn how to install mingw64-SDL_ttf on Fedora 36.

What is mingw64-SDL_ttf

Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed to provide fast access to the graphics frame buffer and audio device. This package contains a library that allows you to use TrueType fonts to render text in SDL 1.2 applications.

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

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

sudo dnf -y install mingw64-SDL_ttf

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

sudo yum -y install mingw64-SDL_ttf

How To Uninstall mingw64-SDL_ttf on Fedora 36

To uninstall only the mingw64-SDL_ttf package we can use the following command:

sudo dnf remove mingw64-SDL_ttf

mingw64-SDL_ttf Package Contents on Fedora 36

/usr/share/doc/mingw64-SDL_ttf
/usr/share/doc/mingw64-SDL_ttf/CHANGES
/usr/share/doc/mingw64-SDL_ttf/README
/usr/share/licenses/mingw64-SDL_ttf
/usr/share/licenses/mingw64-SDL_ttf/COPYING
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/SDL_ttf.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_ttf.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libSDL_ttf.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/SDL_ttf.pc

References

Summary

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