How To Install SDL2_image on Fedora 36

In this tutorial we learn how to install SDL2_image in Fedora 36. SDL2_image is Image loading library for SDL

Introduction

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

What is SDL2_image

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 simple library for loading images of various formats (BMP, PPM, PCX, GIF, JPEG, PNG) as SDL surfaces.

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

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

sudo dnf -y install SDL2_image

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

sudo yum -y install SDL2_image

How To Uninstall SDL2_image on Fedora 36

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

sudo dnf remove SDL2_image

SDL2_image Package Contents on Fedora 36

/usr/bin/showimage2
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/20ae267f36493ca7c14381f2b2fa6b8363254d
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/30a7a809974b0b8a083901f9c6fc87b356d6da
/usr/lib/libSDL2_image-2.0.so.0
/usr/lib/libSDL2_image-2.0.so.0.2.3
/usr/share/doc/SDL2_image
/usr/share/doc/SDL2_image/CHANGES.txt
/usr/share/licenses/SDL2_image
/usr/share/licenses/SDL2_image/COPYING.txt

References

Summary

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


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

Introduction

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

What is SDL2_image

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 simple library for loading images of various formats (BMP, PPM, PCX, GIF, JPEG, PNG) as SDL surfaces.

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

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

sudo dnf -y install SDL2_image

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

sudo yum -y install SDL2_image

How To Uninstall SDL2_image on Fedora 36

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

sudo dnf remove SDL2_image

SDL2_image Package Contents on Fedora 36

/usr/bin/showimage2
/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/c76bd4b0fbb933eac8177e508edeec98c0244f
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/2aba11dde2688749fb48f70f53d1f2180b1567
/usr/lib64/libSDL2_image-2.0.so.0
/usr/lib64/libSDL2_image-2.0.so.0.2.3
/usr/share/doc/SDL2_image
/usr/share/doc/SDL2_image/CHANGES.txt
/usr/share/licenses/SDL2_image
/usr/share/licenses/SDL2_image/COPYING.txt

References

Summary

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