How To Install SDL_gfx-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install SDL_gfx-devel
on Rocky Linux 8.
What is SDL_gfx-devel
This package contains the files required to develop programs which use SDL_gfx.
We can use yum
or dnf
to install SDL_gfx-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install SDL_gfx-devel.
Install SDL_gfx-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install SDL_gfx-devel
using dnf
by running the following command:
sudo dnf -y install SDL_gfx-devel
Install SDL_gfx-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install SDL_gfx-devel
using yum
by running the following command:
sudo yum -y install SDL_gfx-devel
How To Uninstall SDL_gfx-devel on Rocky Linux 8
To uninstall only the SDL_gfx-devel
package we can use the following command:
sudo dnf remove SDL_gfx-devel
SDL_gfx-devel Package Contents on Rocky Linux 8
/usr/include/SDL/SDL_framerate.h
/usr/include/SDL/SDL_gfxBlitFunc.h
/usr/include/SDL/SDL_gfxPrimitives.h
/usr/include/SDL/SDL_gfxPrimitives_font.h
/usr/include/SDL/SDL_imageFilter.h
/usr/include/SDL/SDL_rotozoom.h
/usr/lib64/libSDL_gfx.so
/usr/lib64/pkgconfig/SDL_gfx.pc
References
Summary
In this tutorial we learn how to install SDL_gfx-devel
on Rocky Linux 8 using yum and dnf.