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

Last updated: May 18,2024

1. Install "python-contextlib2" package

This is a short guide on how to install python-contextlib2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-contextlib2

2. Uninstall "python-contextlib2" package

This guide let you learn how to uninstall python-contextlib2 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-contextlib2
Priority: optional
Section: python
Installed-Size: 40
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: contextlib2
Version: 0.5.1-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/main/c/contextlib2/python-contextlib2_0.5.1-1_all.deb
Size: 9614
MD5sum: b5944f7eeed4cc60349ebf1c38f86166
SHA1: f95a07926dd42bb1e07eecea304117ffc077e2db
SHA256: 27b1725ba27a6c0b4dedbbc902d73ff50554558a1f39302f67c105ff9ed9ea8f
Description-en: Backport and enhancements for the contextlib module - Python 2.7
contextlib2 is a backport of the standard library's contextlib module to
earlier Python versions.
.
It also serves as a real world proving ground for possible future
enhancements to the standard library version.
.
This package contains the Python 2.7 module.
Description-md5: d6316bfda7f448536e57bea26877abd3
Homepage: http://contextlib2.readthedocs.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y