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

Last updated: December 25,2024

1. Install "python-sdl2" package

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

$ sudo apt update $ sudo apt install python-sdl2

2. Uninstall "python-sdl2" package

Learn how to uninstall python-sdl2 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-sdl2
Priority: optional
Section: universe/python
Installed-Size: 392
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: pysdl2
Version: 0.9.3+dfsg2-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), 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: python-numpy
Suggests: pysdl2-doc
Filename: pool/universe/p/pysdl2/python-sdl2_0.9.3+dfsg2-1_all.deb
Size: 65922
MD5sum: 12bbbd950300f8db486e56c3a397b38b
SHA1: 8eb8530be96397118e8fd635a0dbc676be3c412c
SHA256: ee0f7ef2a459640a14c9c794932f3d83935529374eefa01d71ffd2ec6ce15748
Description-en: Python bindings to the SDL2 C-library (Python 2 build)
PySDL2 is a ctypes based wrapper around the Simple DirectMedia Layer 2 library
to allow portable low level access to a video framebuffer, audio output, mouse
and keyboard.
.
This module is built for Python version 2.x.
Description-md5: b7a4d8824cf89b85ea9f9485aa7be5e6
Homepage: https://bitbucket.org/marcusva/py-sdl2
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions