How To Install SDL2_image on Fedora 34
Introduction
In this tutorial we learn how to install SDL2_image
on Fedora 34.
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. SDL2_image 2.0.5 6.fc34 x86_64 83 k SDL2_image-2.0.5-6.fc34.src.rpm fedora Image loading library for SDL http LGPLv2+ and zlib 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 34. 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 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_image
using dnf
by running the following command:
sudo dnf -y install SDL2_image
Install SDL2_image 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_image
using yum
by running the following command:
sudo yum -y install SDL2_image
How To Uninstall SDL2_image on Fedora 34
To uninstall only the SDL2_image
package we can use the following command:
sudo dnf remove SDL2_image
SDL2_image Package Contents on Fedora 34
/usr/bin/showimage2
/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/e90c87c8f9cc03c42b4a64a798329a51a45e04
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/40738d75e5ce69c32a3d060282f0ee608dd614
/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
/usr/bin/showimage2
/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/1a6a87b0c2b345df621a4dca3ceee249a57131
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/169adea8cbc52337b89b6377b8d8e76db52100
/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
- [SDL2_image website](http://www.libsdl.org/projects/SDL_image/ http://www.libsdl.org/projects/SDL_image/)
Summary
In this tutorial we learn how to install SDL2_image
on Fedora 34 using yum and dnf.