How To Install SDL2_gfx on Fedora 34

SDL2_gfx is SDL2 graphics drawing primitives and other support functions SDL2 graphics drawing primitives and other support functions

Introduction

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

What is SDL2_gfx

Library providing graphics drawing primitives and other support functions wrapped up in an addon library for the Simple Direct Media version 2 (SDL2) cross-platform API layer. SDL2_gfx 1.0.4 4.fc34 x86_64 40 k SDL2_gfx-1.0.4-4.fc34.src.rpm fedora SDL2 graphics drawing primitives and other support functions http zlib Library providing graphics drawing primitives and other support functions wrapped up in an addon library for the Simple Direct Media version 2 (SDL2) cross-platform API layer.

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

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

sudo dnf -y install SDL2_gfx

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

sudo yum -y install SDL2_gfx

How To Uninstall SDL2_gfx on Fedora 34

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

sudo dnf remove SDL2_gfx

SDL2_gfx Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/516d96ce05c781487fd05128f5aabf45fabf9a
/usr/lib64/libSDL2_gfx-1.0.so.0
/usr/lib64/libSDL2_gfx-1.0.so.0.0.2
/usr/share/doc/SDL2_gfx
/usr/share/doc/SDL2_gfx/AUTHORS
/usr/share/doc/SDL2_gfx/NEWS
/usr/share/doc/SDL2_gfx/README
/usr/share/licenses/SDL2_gfx
/usr/share/licenses/SDL2_gfx/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/bcb79a7e0d5b62dd48d5993c620b3e94a7b0fb
/usr/lib/libSDL2_gfx-1.0.so.0
/usr/lib/libSDL2_gfx-1.0.so.0.0.2
/usr/share/doc/SDL2_gfx
/usr/share/doc/SDL2_gfx/AUTHORS
/usr/share/doc/SDL2_gfx/NEWS
/usr/share/doc/SDL2_gfx/README
/usr/share/licenses/SDL2_gfx
/usr/share/licenses/SDL2_gfx/COPYING

References

Summary

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