How to Install and Uninstall python3-sdl2 Package on Debian 11 (Bullseye)

Last updated: November 13,2024

1. Install "python3-sdl2" package

Please follow the instructions below to install python3-sdl2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-sdl2

2. Uninstall "python3-sdl2" package

This tutorial shows how to uninstall python3-sdl2 on Debian 11 (Bullseye):

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

3. Information about the python3-sdl2 package on Debian 11 (Bullseye)

Package: python3-sdl2
Source: pysdl2
Version: 0.9.7+dfsg1-1
Installed-Size: 4383
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/marcusva/py-sdl2
Tag: uitoolkit::sdl
Section: python
Priority: optional
Filename: pool/main/p/pysdl2/python3-sdl2_0.9.7+dfsg1-1_all.deb
Size: 241572
MD5sum: c62098e0456677d781212ebacd6b0aa2
SHA256: 1de9d7ca674c15fe3f127060f5503cca790a1b6c6bb84660cd10584bb395cb67