How to Install and Uninstall python3-pygame Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: October 06,2024

1. Install "python3-pygame" package

In this section, we are going to explain the necessary steps to install python3-pygame on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install python3-pygame

2. Uninstall "python3-pygame" package

Please follow the step by step instructions below to uninstall python3-pygame on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the python3-pygame package on Ubuntu 24.04 LTS (Noble Numbat)

Package: python3-pygame
Architecture: amd64
Version: 2.5.2-1build1
Priority: optional
Section: universe/python
Source: pygame
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 7265
Depends: fonts-freefont-ttf, python3-numpy (>= 1:1.22.0), python3-numpy-abi9, python3 (<< 3.13), python3 (>= 3.11~), python3:any, libc6 (>= 2.33), libfreetype6 (>= 2.2.1), libpng16-16 (>= 1.6.2), libportmidi0, libsdl2-2.0-0 (>= 2.0.16), libsdl2-image-2.0-0 (>= 2.0.5), libsdl2-mixer-2.0-0 (>= 2.0.4), libsdl2-ttf-2.0-0 (>= 2.20.0)
Suggests: python-pygame-doc, timidity
Filename: pool/universe/p/pygame/python3-pygame_2.5.2-1build1_amd64.deb
Size: 1464898
MD5sum: 161792668b907ac3096de44d3a1eac0a
SHA1: a0dc2b66ef4d9e0cfd9e6f59f9534865d45b4b5d
SHA256: ccabf178a16f965df405ad9642a8b2236c883217ad62e9b93072ca3cbb471e76
SHA512: 7de8ba50af7e3644667d82f24aa219872d0956f833d9c0358bd6150162045e74676ba082ffcda919d6e36fd215af70ea53a0f27a92c9e615f184e13eb05401c9
Homepage: https://www.pygame.org/
Description: SDL bindings for games development (Python 3)
Description-md5: 306500d85ba0762cf985a58d17463575