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

Last updated: May 18,2024

1. Install "python-contextlib2" package

In this section, we are going to explain the necessary steps to install python-contextlib2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-contextlib2

2. Uninstall "python-contextlib2" package

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

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

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

Package: python-contextlib2
Architecture: all
Version: 0.5.5-1
Priority: optional
Section: python
Source: contextlib2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/main/c/contextlib2/python-contextlib2_0.5.5-1_all.deb
Size: 10332
MD5sum: 21ea62b687ee3d2fff894757c61194b1
SHA1: ce0bbba2736c0f36326b47d0e0017b6834549ff3
SHA256: 2e440d19357e7f76030ae214e5f63b25fc796946c31ecdc44f852e4907c87c92
Homepage: http://contextlib2.readthedocs.org/
Description: Backport and enhancements for the contextlib module - Python 2.7
Description-md5: d6316bfda7f448536e57bea26877abd3
Supported: 5y