How To Install mingw64-sdl12-compat on Fedora 36
Introduction
In this tutorial we learn how to install mingw64-sdl12-compat
on Fedora 36.
What is mingw64-sdl12-compat
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed to provide fast access to the graphics frame buffer and audio device. This code is a compatibility layer; it provides a binary-compatible API for Windows 64-bit programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. If you are writing new code, please target SDL 2.0 directly and do not use this layer.
We can use yum
or dnf
to install mingw64-sdl12-compat
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-sdl12-compat.
Install mingw64-sdl12-compat 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 mingw64-sdl12-compat
using dnf
by running the following command:
sudo dnf -y install mingw64-sdl12-compat
Install mingw64-sdl12-compat 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 mingw64-sdl12-compat
using yum
by running the following command:
sudo yum -y install mingw64-sdl12-compat
How To Uninstall mingw64-sdl12-compat on Fedora 36
To uninstall only the mingw64-sdl12-compat
package we can use the following command:
sudo dnf remove mingw64-sdl12-compat
mingw64-sdl12-compat Package Contents on Fedora 36
/usr/share/doc/mingw64-sdl12-compat
/usr/share/doc/mingw64-sdl12-compat/BUGS.txt
/usr/share/doc/mingw64-sdl12-compat/README.md
/usr/share/licenses/mingw64-sdl12-compat
/usr/share/licenses/mingw64-sdl12-compat/LICENSE.txt
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/SDL.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/sdl-config
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_active.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_audio.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_byteorder.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_cdrom.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_config.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_copying.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_cpuinfo.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_endian.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_error.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_events.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_getenv.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_joystick.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_keyboard.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_keysym.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_loadso.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_main.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_mouse.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_mutex.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_name.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_opengl.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_platform.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_quit.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_rwops.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_stdinc.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_syswm.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_thread.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_timer.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_types.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_version.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/SDL_video.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/begin_code.h
/usr/x86_64-w64-mingw32/sys-root/mingw/include/SDL/close_code.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libSDL.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libSDLmain.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/sdl12_compat.pc
References
Summary
In this tutorial we learn how to install mingw64-sdl12-compat
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).