How To Install SDL_gfx on Fedora 34

SDL_gfx is SDL graphics drawing primitives and other support functions SDL graphics drawing primitives and other support functions

Introduction

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

What is SDL_gfx

Library providing SDL graphics drawing primitives and other support functions wrapped up in an addon library for the Simple Direct Media (SDL) cross-platform API layer. SDL_gfx 2.0.26 4.fc34 x86_64 55 k SDL_gfx-2.0.26-4.fc34.src.rpm fedora SDL graphics drawing primitives and other support functions http LGPLv2 Library providing SDL graphics drawing primitives and other support functions wrapped up in an addon library for the Simple Direct Media (SDL) cross-platform API layer.

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

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

sudo dnf -y install SDL_gfx

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

sudo yum -y install SDL_gfx

How To Uninstall SDL_gfx on Fedora 34

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

sudo dnf remove SDL_gfx

SDL_gfx Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/2d8f5ff5ad467643036dde64382a94d7cfbbf8
/usr/lib/libSDL_gfx.so.15
/usr/lib/libSDL_gfx.so.15.9.1
/usr/share/doc/SDL_gfx
/usr/share/doc/SDL_gfx/AUTHORS
/usr/share/doc/SDL_gfx/COPYING
/usr/share/doc/SDL_gfx/LICENSE
/usr/share/doc/SDL_gfx/README
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/39af512e332f53b259d29a2014c751518a8b52
/usr/lib64/libSDL_gfx.so.15
/usr/lib64/libSDL_gfx.so.15.9.1
/usr/share/doc/SDL_gfx
/usr/share/doc/SDL_gfx/AUTHORS
/usr/share/doc/SDL_gfx/COPYING
/usr/share/doc/SDL_gfx/LICENSE
/usr/share/doc/SDL_gfx/README

References

Summary

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