dnf install SDL2-develAllegro Allegro is a software library for video game development. The functionality of the library includes support for basic 2D graphics, image manipulation, text output, audio output, MIDI music, input and timers, as well as additional routines for fixed-point and floating-point matrix arithmetic, Unicode strings, file system access, file manipulation, data files, and 3D graphics. The library is written in the C programming language and designed to be used with C, C++, or Objective-C, with bindings available for Python, Lua, Scheme, D, Go, and other languages. Allegro comes with extensive documentation and many examples. Others: ClanLib CreateJS DirectFB GLFW OpenML Pygame Ren'Py SFML SVGALib If you are using Java, java.awt.Graphics is cross-platform and can do standard 2D graphics. On Windows, GDI+ is a good 2D graphics library.
Programming Tips - Cross platform multimedia libraries
Date: 2019jun24 Q. Cross platform multimedia libraries A. SDL - Simple DirectMedia Layer Simple DirectMedia Layer (SDL) is a cross-platform software development library designed to provide a hardware abstraction layer for computer multimedia hardware components. Software developers can use it to write high-performance computer games and other multimedia applications that can run on many operating systems such as Android, iOS, Linux, macOS, and Windows. To install on RedHat/Linux/CentOS