How to Install and Uninstall python3-sdl2 Package on Debian 12 (Bookworm)

Last updated: November 22,2024

1. Install "python3-sdl2" package

Please follow the steps below to install python3-sdl2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-sdl2

2. Uninstall "python3-sdl2" package

Here is a brief guide to show you how to uninstall python3-sdl2 on Debian 12 (Bookworm):

$ sudo apt remove python3-sdl2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-sdl2 package on Debian 12 (Bookworm)

Package: python3-sdl2
Source: pysdl2
Version: 0.9.9+dfsg1-6
Installed-Size: 1603
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any, libsdl2-2.0-0, libsdl2-gfx-1.0-0, libsdl2-image-2.0-0, libsdl2-mixer-2.0-0, libsdl2-ttf-2.0-0
Recommends: python3-numpy
Suggests: pysdl2-doc
Description: Python bindings to the SDL2 C-library (Python 3 build)
Description-md5: 106f2b83bbfd9b4c4ae948892d3fd883
Homepage: https://github.com/py-sdl/py-sdl2
Tag: uitoolkit::sdl
Section: python
Priority: optional
Filename: pool/main/p/pysdl2/python3-sdl2_0.9.9+dfsg1-6_all.deb
Size: 226728
MD5sum: 687648dadb7699497c9af51163ba27fd
SHA256: 69b29c25037fbc0e54752f9fe78ee050a723e0d5689a990c2180707c5f4e0cc7