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

Last updated: April 24,2024

1. Install "python-gi" package

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

$ sudo apt update $ sudo apt install python-gi

2. Uninstall "python-gi" package

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

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

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

Package: python-gi
Priority: optional
Section: python
Installed-Size: 677
Maintainer: Ubuntu Developers
Original-Maintainer: Josselin Mouette
Architecture: amd64
Source: pygobject
Version: 3.20.0-0ubuntu1
Provides: python2.7-gi
Depends: python (<< 2.8), python (>= 2.7~), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libffi6 (>= 3.0.4), libgirepository-1.0-1 (>= 1.44.0), libglib2.0-0 (>= 2.41.1), gir1.2-glib-2.0 (>= 1.39.0)
Suggests: python-gi-cairo
Breaks: python-aptdaemon (<< 1.0), software-center (<= 5.6.0-0ubuntu2)
Filename: pool/main/p/pygobject/python-gi_3.20.0-0ubuntu1_amd64.deb
Size: 194052
MD5sum: e214449ec056339b577c073fe0825942
SHA1: 55cc903645cbaf9428a5725fff65d5be05627912
SHA256: dc777c6299f8622b661964491562f8f10bcdb4e838aa01b149f102b3431c50e8
Description-en: Python 2.x bindings for gobject-introspection libraries
GObject is an abstraction layer that allows programming with an object
paradigm that is compatible with many languages. It is a part of Glib,
the core library used to build GTK+ and GNOME.
.
This package contains the Python 2.x binding generator for libraries that
support gobject-introspection, i. e. which ship a gir1.2--
package. With these packages, the libraries can be used from Python.
Description-md5: 8d2225b2f817f42645ac3c6bd82fee0f
Homepage: https://wiki.gnome.org/Projects/PyGObject
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: edubuntu-desktop-gnome, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-master, lubuntu-desktop, ubuntustudio-video, ubuntustudio-publishing, ubuntustudio-photography, ubuntustudio-graphics, ubuntustudio-audio, ubuntu-gnome-desktop, ubuntu-sdk, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop