short for | : | Simple DirectMedia Layer Version 2 |
是什么 ? | : | a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games. |
开发语言 | : | C |
官方主页 | : | https://www.libsdl.org |
操作系统 | 包管理器 | 安装命令 |
---|---|---|
Windows | Chocolatey | choco install -y sdl2 |
macOS | HomeBrew | brew install sdl2 |
GNU/Linux | HomeBrew | brew install sdl2 |
apt | sudo apt-get install -y sdl2 | |
CentOS | yum | sudo yum install -y sdl2 |
dnf | sudo dnf install -y sdl2 | |
openSUSE | zypper | sudo zypper install -y sdl2 |
Alpine Linux | apk | sudo apk add sdl2 |
pacman | sudo pacman -Syyu --noconfirm | |
Gentoo Linux | Portage | sudo emerge sdl2 |