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

Last updated: May 21,2024

1. Install "python-pathlib2" package

Here is a brief guide to show you how to install python-pathlib2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-pathlib2

2. Uninstall "python-pathlib2" package

This tutorial shows how to uninstall python-pathlib2 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python-pathlib2
Architecture: all
Version: 2.3.0-1
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: 75
Depends: python-six, python:any (<< 2.8), python:any (>= 2.7.5-5~), python-scandir
Filename: pool/universe/p/python-pathlib2/python-pathlib2_2.3.0-1_all.deb
Size: 15862
MD5sum: c12792e8df5e5be8e1be8dadc5ac290a
SHA1: 1f3def2684e49e21eec5f38d6c704d941532e367
SHA256: 601a483f260960a43af269a7e5ffa074e3c8101007eef002192ed5ec75ac0aec
Homepage: https://pypi.python.org/pypi/pathlib2
Description: Backport of the "pathlib" stdlib module (Python 2)
Description-md5: 9e871803031b85c11e6254d217ef2e7a