Install command:
brew install sdl2

Low-level access to audio, keyboard, mouse, joystick, and graphics

License: Zlib

/api/formula-linux/sdl2.json (JSON API)

/api/bottle-linux/sdl2.json (Bottle JSON API)

Linux formula code on GitHub

Bottle (binary package) installation support provided for Linux platforms:

Intel monterey
big sur
64-bit linux
ARM64 monterey
big sur

Current versions:

stable 2.0.16
head ⚡️ HEAD

Depends on:

libice 1.0.10 X.Org: Inter-Client Exchange Library
libxcursor 1.2.0 X.Org: X Window System Cursor management library
libxscrnsaver 1.2.3 X.Org: X11 Screen Saver extension client library
libxxf86vm 1.1.4 X.Org: XFree86-VidMode X extension
xinput 1.6.3 Utility to configure and test X input devices
pulseaudio 14.2 Sound system for POSIX OSes

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
sdl2 639
Installs on Request (30 days)
sdl2 64
Build Errors (30 days)
sdl2 0
Installs (90 days)
sdl2 1,981
sdl2 --HEAD 4
Installs on Request (90 days)
sdl2 222
sdl2 --HEAD 4
Installs (365 days)
sdl2 5,970
sdl2 --HEAD 4
Installs on Request (365 days)
sdl2 596
sdl2 --HEAD 4
Fork me on GitHub