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

Last updated: May 17,2024

1. Install "python-pygame" package

Here is a brief guide to show you how to install python-pygame on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-pygame

2. Uninstall "python-pygame" package

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

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

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

Package: python-pygame
Architecture: amd64
Version: 1.9.1release+dfsg-10build1
Priority: optional
Section: universe/python
Source: pygame
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6071
Depends: fonts-freefont-ttf, python-numpy (>= 1:1.10.0~b1), python-numpy-abi9, python (>= 2.7), python (<< 2.8), libc6 (>= 2.14), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libportmidi0, libsdl-image1.2 (>= 1.2.10), libsdl-mixer1.2, libsdl-ttf2.0-0, libsdl1.2debian (>= 1.2.11), libsmpeg0, libx11-6
Suggests: timidity
Filename: pool/universe/p/pygame/python-pygame_1.9.1release+dfsg-10build1_amd64.deb
Size: 1662150
MD5sum: 71d1fe16d74b14e356a8c2b3ce71ccee
SHA1: 2b58a1ec0f8a9acbb7540092a9fd1c232d7a814e
SHA256: 0a2adc7bd2363dc6c85d0bf6e0d6553f30cbb76694cc59215495c7ea9bbfa12d
Homepage: http://www.pygame.org/
Description: SDL bindings for games development in Python
Description-md5: 853dea18b85088d50852607b80ad8d2d