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

Last updated: May 13,2024

1. Install "python3-contextlib2" package

Please follow the guidelines below to install python3-contextlib2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3-contextlib2

2. Uninstall "python3-contextlib2" package

In this section, we are going to explain the necessary steps to uninstall python3-contextlib2 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: python3-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: python3:any
Filename: pool/universe/c/contextlib2/python3-contextlib2_0.6.0-2_all.deb
Size: 11348
MD5sum: 75dc8863d64e0852d8deb5d58fb71b39
SHA1: 9e1fae9293117fa18852697699e7c675e23efe39
SHA256: b6df90290c42893ce9dc45072d31a7ee30dc845461636f8a766e0309d31fe638
Homepage: https://contextlib2.readthedocs.org/
Description: Backport and enhancements for the contextlib module - Python 3.x
Description-md5: 7c51245809dc6c7977fd9c6adeff3c15