Information about the package, python-pathlib, which is shipped with common Linux distributions. The python-pathlib package is designed for, Object-oriented filesystem paths.
Package Name:
python-pathlib
Summary:
Object-oriented filesystem paths
Description:
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.). It's part of Python 3.4+ standard library.
Architecture:
noarch
Version:
1.0.1
Release:
1.el6
Size:
83 k
Repository:
epel
From Repository:
Licence:
MIT
Control the python-pathlib package with the following handy commands outlined below.
yum install python-pathlib
This command will install python-pathlib on the server.
yum remove python-pathlib
This command will un-install python-pathlib on the server. When you run this command, you will be asked if you are sure that you want to remove python-pathlib, so you have to manually confirm that you want to do this.
yum -y remove python-pathlib
This command will un-install python-pathlib on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-pathlib when using the -y flag.
yum update python-pathlib
This command will update python-pathlib to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-pathlib, so you have to manually confirm that you want to do this.
yum -y update python-pathlib
This command will update python-pathlib to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-pathlib when using the -y flag.
yum info python-pathlib
This command will show you core information about the python-pathlib package.
yum deplist python-pathlib
This command will show you the dependencies for python-pathlib. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update python-pathlib
This command will check if there is an update waiting on python-pathlib. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.