Information about the package, python-contextlib2, which is shipped with common Linux distributions. The python-contextlib2 package is designed for, Backports and enhancements for the contextlib module.
Package Name:
python-contextlib2
Summary:
Backports and enhancements for the contextlib module
Description:
contextlib2 is a backport of the standard library's contextlib module to earlier Python versions. It also serves as a real world proving ground for possible future enhancements to the standard library version.
Architecture:
noarch
Version:
0.5.1
Release:
1.el6
Size:
17 k
Repository:
epel
From Repository:
Licence:
Python
Control the python-contextlib2 package with the following handy commands outlined below.
yum install python-contextlib2
This command will install python-contextlib2 on the server.
yum remove python-contextlib2
This command will un-install python-contextlib2 on the server. When you run this command, you will be asked if you are sure that you want to remove python-contextlib2, so you have to manually confirm that you want to do this.
yum -y remove python-contextlib2
This command will un-install python-contextlib2 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-contextlib2 when using the -y flag.
yum update python-contextlib2
This command will update python-contextlib2 to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-contextlib2, so you have to manually confirm that you want to do this.
yum -y update python-contextlib2
This command will update python-contextlib2 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-contextlib2 when using the -y flag.
yum info python-contextlib2
This command will show you core information about the python-contextlib2 package.
yum deplist python-contextlib2
This command will show you the dependencies for python-contextlib2. 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-contextlib2
This command will check if there is an update waiting on python-contextlib2. 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.