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

Last updated: May 19,2024

1. Install "python3-pygame" package

Please follow the guidelines below to install python3-pygame on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-pygame

2. Uninstall "python3-pygame" package

Please follow the guidance below to uninstall python3-pygame on Debian 12 (Bookworm):

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

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

Package: python3-pygame
Source: pygame (2.1.2+dfsg-5)
Version: 2.1.2+dfsg-5+b1
Installed-Size: 3968
Maintainer: Debian Python Team
Architecture: amd64
Depends: fonts-freefont-ttf, python3-numpy (>= 1:1.22.0), python3-numpy-abi9, python3 (<< 3.12), python3 (>= 3.11~), python3:any, libc6 (>= 2.33), libfreetype6 (>= 2.2.1), libjpeg62-turbo (>= 1.3.1), libpng16-16 (>= 1.6.2-1), libportmidi0, libsdl2-2.0-0 (>= 2.0.12), libsdl2-image-2.0-0 (>= 2.0.5), libsdl2-mixer-2.0-0 (>= 2.0.4), libsdl2-ttf-2.0-0 (>= 2.0.15)
Suggests: python-pygame-doc, timidity
Description: SDL bindings for games development (Python 3)
Description-md5: 306500d85ba0762cf985a58d17463575
Homepage: https://www.pygame.org/
Tag: uitoolkit::sdl
Section: python
Priority: optional
Filename: pool/main/p/pygame/python3-pygame_2.1.2+dfsg-5+b1_amd64.deb
Size: 1012736
MD5sum: e0e5b290f9504b6a1644826ee405bb66
SHA256: 7c290adcf69efa0afde52410e7a50fbd5b5842f8e07059eb4d1b14c2ea620e72