sdl2-config

Layer applications

Install

All systems
curl cmd.cat/sdl2-config.sh
Debian Debian
apt-get install libsdl2-dev
Ubuntu
apt-get install libsdl2-dev
Arch Arch Linux
pacman -S emscripten
image/svg+xml Kali Linux
apt-get install libsdl2-dev
Fedora
dnf install mingw64-SDL2
Windows (WSL2)
sudo apt-get update sudo apt-get install libsdl2-dev
OS X
brew install emscripten
Raspbian
apt-get install libsdl2-dev

SDL2-devel

Layer applications

libsdl2-dev

Simple DirectMedia Layer development files

SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard. This package contains the files needed to compile and link programs which use SDL.

mingw32-SDL2

multimedia library

mingw64-SDL2

multimedia library

sdl2

A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)

emscripten

LLVM-to-JavaScript Compiler

Emscripten is an LLVM to JavaScript compiler. It takes LLVM bitcode, also called LLVM IR (which can be generated from C/C++ using Clang, or any other language that can be converted into LLVM bitcode) and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run). Using Emscripten, you can * Compile C and C++ code into JavaScript and run that on the web * Run code in languages like Python as well, by compiling CPython from C to JavaScript and interpreting code in that on the web