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

Last updated: November 22,2024

1. Install "python-pathlib2" package

In this section, we are going to explain the necessary steps to install python-pathlib2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python-pathlib2

2. Uninstall "python-pathlib2" package

Please follow the instructions below to uninstall python-pathlib2 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: python-pathlib2
Architecture: all
Version: 2.3.5-1ubuntu1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 81
Depends: python-six, python2:any (<< 2.8), python2:any (>= 2.7~), python-scandir
Filename: pool/universe/p/python-pathlib2/python-pathlib2_2.3.5-1ubuntu1_all.deb
Size: 17644
MD5sum: 984a17f347cfeec3db1de35b992c3f06
SHA1: c3d82c8915fe20ce94819dd5d28ad37169a71e1f
SHA256: 621c83e5112c138754ce18aa5745a61504a06537dbab73588662baa9fb7731f5
Homepage: https://pypi.org/project/pathlib2
Description: Backport of the "pathlib" stdlib module (Python 2)
Description-md5: 9e871803031b85c11e6254d217ef2e7a