How to Install and Uninstall python-pathlib Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "python-pathlib" package

Please follow the guidance below to install python-pathlib on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-pathlib

2. Uninstall "python-pathlib" package

Please follow the guidelines below to uninstall python-pathlib on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-pathlib package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-pathlib
Priority: optional
Section: python
Installed-Size: 107
Maintainer: Ubuntu Developers
Original-Maintainer: Frank Brehm
Architecture: all
Version: 1.0.1-2
Provides: python2.7-pathlib
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/main/p/python-pathlib/python-pathlib_1.0.1-2_all.deb
Size: 25150
MD5sum: a7d36663c2a523a801498e1309a83aaa
SHA1: 1a2524cdb24d1ce18952a834248884d10a93dcac
SHA256: 42f7474c12b0720b2fe46414df7ffdbe92246766d3e6002d9e9373063e7820e2
Description-en: set of Python 2 classes to handle filesystem paths
Pathlib offers a set of classes to handle filesystem paths.
It offers the following advantages over using string objects:
.
* No more cumbersome use of os and os.path functions. Everything
can be done easily through operators, attribute accesses, and method calls.
* Embodies the semantics of different path types. For example,
comparing Windows paths ignores casing.
* Well-defined semantics, eliminating any warts or ambiguities
(forward vs. backward slashes, etc.).
.
This is the Python 2 version of the package.
Description-md5: 3a79237d870b279c1943741c87b8b333
Homepage: https://pypi.python.org/pypi/pathlib/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y