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

Last updated: November 07,2024

1. Install "python-gtk2" package

Here is a brief guide to show you how to install python-gtk2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-gtk2

2. Uninstall "python-gtk2" package

In this section, we are going to explain the necessary steps to uninstall python-gtk2 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-gtk2
Priority: optional
Section: python
Installed-Size: 3453
Maintainer: Ubuntu Developers
Original-Maintainer: Sebastien Bacher
Architecture: amd64
Source: pygtk
Version: 2.24.0-4ubuntu1
Depends: python (>= 2.7), python (<< 2.8), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.24.0), libgtk2.0-0 (>= 2.24.0), libpango-1.0-0 (>= 1.22.0), libpangocairo-1.0-0 (>= 1.21.4), python-cairo (>= 1.0.2-1.1), python-gobject-2 (>= 2.21.3)
Suggests: python-gtk2-doc
Breaks: python-gtkglext1 (<< 1.1.0-7~)
Filename: pool/main/p/pygtk/python-gtk2_2.24.0-4ubuntu1_amd64.deb
Size: 619856
MD5sum: 02b7124d88d2fe0d6019ccc3bde5ef16
SHA1: 87a46dc6aadb10179df0699da0bec78db196d55a
SHA256: 4b80eb39799b3298c57d879a1e5a4be8bf496accfb5858bddc27867299f6fca9
Description-en: Python bindings for the GTK+ widget set
This archive contains modules that allow you to use GTK+ in Python
programs.
.
This package is deprecated, you should migrate to using
gobject-introspection (GIR) based python bindings instead (PyGObject).
https://wiki.gnome.org/Projects/PyGObject/IntrospectionPorting
Description-md5: aea45f4a5f1d1ef2b60b65ff43141e4a
Homepage: http://www.pygtk.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: edubuntu-live, edubuntu-desktop-gnome, ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics, ubuntustudio-audio, ubuntu-sdk, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop