How to Install and Uninstall python-sdl2 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 25,2024

1. Install "python-sdl2" package

Please follow the instructions below to install python-sdl2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-sdl2

2. Uninstall "python-sdl2" package

Please follow the instructions below to uninstall python-sdl2 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-sdl2 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-sdl2
Architecture: all
Version: 0.9.3+dfsg2-1
Priority: optional
Section: universe/python
Source: pysdl2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 392
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
Homepage: https://bitbucket.org/marcusva/py-sdl2
Description: Python bindings to the SDL2 C-library (Python 2 build)
Description-md5: b7a4d8824cf89b85ea9f9485aa7be5e6

5. The same packages on other Linux Distributions