How to Install and Uninstall python-contextlib2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 05,2024

1. Install "python-contextlib2" package

This tutorial shows how to install python-contextlib2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python-contextlib2

2. Uninstall "python-contextlib2" package

This is a short guide on how to uninstall python-contextlib2 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python-contextlib2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python-contextlib2
Architecture: all
Version: 0.6.0-2
Priority: optional
Section: universe/python
Source: contextlib2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 49
Depends: python2:any (<< 2.8), python2:any (>= 2.7~)
Filename: pool/universe/c/contextlib2/python-contextlib2_0.6.0-2_all.deb
Size: 11272
MD5sum: abddb0ff9bdcfa53996a4023938ed2e7
SHA1: 9a7eb2b240bd03caf8fa0083d6c909966f8aeb03
SHA256: b1f2723d2a11550fe0e06752fead14f8559da9926f2215c212fef77d34cb40b4
Homepage: https://contextlib2.readthedocs.org/
Description: Backport and enhancements for the contextlib module - Python 2.7
Description-md5: d6316bfda7f448536e57bea26877abd3