How to Install and Uninstall libsdl2-dev Package on Debian 12 (Bookworm)

Last updated: May 20,2024

1. Install "libsdl2-dev" package

Please follow the instructions below to install libsdl2-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libsdl2-dev

2. Uninstall "libsdl2-dev" package

This guide let you learn how to uninstall libsdl2-dev on Debian 12 (Bookworm):

$ sudo apt remove libsdl2-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libsdl2-dev package on Debian 12 (Bookworm)

Package: libsdl2-dev
Source: libsdl2
Version: 2.26.5+dfsg-1
Installed-Size: 6175
Maintainer: Debian SDL packages maintainers
Architecture: amd64
Replaces: libsdl-1.3-dev
Depends: libasound2-dev, libdbus-1-dev, libdecor-0-dev, libdrm-dev, libegl-dev, libgbm-dev, libgl-dev, libgles-dev, libibus-1.0-dev, libpulse-dev, libsamplerate0-dev, libsdl2-2.0-0 (= 2.26.5+dfsg-1), libsndio-dev, libudev-dev, libwayland-dev, libx11-dev, libxcursor-dev, libxext-dev, libxfixes-dev, libxi-dev, libxinerama-dev, libxkbcommon-dev, libxrandr-dev, libxss-dev, libxt-dev, libxv-dev, libxxf86vm-dev
Conflicts: libsdl-1.3-dev
Description: Simple DirectMedia Layer development files
Description-md5: 9a82f59c5790721baad7ffc5f181d3d6
Multi-Arch: same
Homepage: https://www.libsdl.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/libs/libsdl2/libsdl2-dev_2.26.5+dfsg-1_amd64.deb
Size: 1050108
MD5sum: 8b4734b948380c91cda3b0d578251aa7
SHA256: c5f5d683f8a1c0772e75e82c0696e03476ddbb012ee0fc592d8472ebee524940