How to Install and Uninstall python3-sdl2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "python3-sdl2" package

In this section, we are going to explain the necessary steps to install python3-sdl2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-sdl2

2. Uninstall "python3-sdl2" package

This is a short guide on how to uninstall python3-sdl2 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-sdl2 package on Ubuntu 21.10 (Impish Indri)

Package: python3-sdl2
Architecture: all
Version: 0.9.7+dfsg1-1
Priority: optional
Section: universe/python
Source: pysdl2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4383
Depends: python3:any, 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: python3-numpy
Suggests: pysdl2-doc
Filename: pool/universe/p/pysdl2/python3-sdl2_0.9.7+dfsg1-1_all.deb
Size: 236572
MD5sum: e91834490791e802750350e78d655744
SHA1: 464945a76a63c193bcb19bd6806f1106aaf1bbe5
SHA256: d166248f30859e968ccfa601e4d2708fc98667c46ab74342195d27a4fe5b4282
SHA512: db52412eddb45e61394a09e7d7e0e1296bd40bafdf2557be7438577d0eab9c73e9586caa6737e756d3d60f6f355fd3bc281f7bfcbff84f314c8165da852f0fbe
Homepage: https://github.com/marcusva/py-sdl2
Description-en: Python bindings to the SDL2 C-library (Python 3 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 3.x.
Description-md5: 106f2b83bbfd9b4c4ae948892d3fd883