How to Install and Uninstall python-pygame-sdl2 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: March 15,2025

1. Install "python-pygame-sdl2" package

Please follow the guidelines below to install python-pygame-sdl2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-pygame-sdl2

2. Uninstall "python-pygame-sdl2" package

Please follow the steps below to uninstall python-pygame-sdl2 on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-pygame-sdl2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-pygame-sdl2 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-pygame-sdl2
Priority: optional
Section: universe/python
Installed-Size: 2289
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Games Team
Architecture: amd64
Source: pygame-sdl2
Version: 6.99.8-3
Depends: python (<< 2.8), python (>= 2.7~), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libjpeg8 (>= 8c), libpng12-0 (>= 1.2.13-4), libsdl2-2.0-0 (>= 2.0.4), libsdl2-image-2.0-0 (>= 2.0.0), libsdl2-mixer-2.0-0 (>= 2.0.0), libsdl2-ttf-2.0-0 (>= 2.0.0)
Filename: pool/universe/p/pygame-sdl2/python-pygame-sdl2_6.99.8-3_amd64.deb
Size: 546722
MD5sum: ce3e2d941ec0decb53cb56455cc15ba8
SHA1: ede024f1964232088b1daa5d151cab5a4730b118
SHA256: 968647d1b27fb2d98189a90e5af22528b992557b84e664545b5036bf13f5f55c
Description-en: reimplementation of the Pygame API using SDL2
Pygame_sdl2 is a reimplementation of the Pygame API using SDL2 and related
libraries. The initial goal of this project is to allow games written using
the pygame API to run on SDL2 on desktop and mobile platforms. The API will be
evolved to expose SDL2-provided functionality in a pythonic manner.
Description-md5: 1aa938d9af6192a040c3d7850a9a2ee3
Homepage: https://github.com/renpy/pygame_sdl2
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu