Information about the package, python-lockfile, which is shipped with common Linux distributions. The python-lockfile package is designed for, A platform-independent file locking module.
Package Name:
python-lockfile
Summary:
A platform-independent file locking module
Description:
The lockfile module exports a FileLock class which provides a simple API for locking files. Unlike the Windows msvcrt.locking function, the Unix fcntl.flock, fcntl.lockf and the deprecated posixfile module, the API is identical across both Unix (including Linux and Mac) and Windows platforms. The lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on Windows) system calls.
Architecture:
noarch
Version:
0.8
Release:
3.el6
Size:
17 k
Repository:
epel
From Repository:
Licence:
MIT
Control the python-lockfile package with the following handy commands outlined below.
yum install python-lockfile
This command will install python-lockfile on the server.
yum remove python-lockfile
This command will un-install python-lockfile on the server. When you run this command, you will be asked if you are sure that you want to remove python-lockfile, so you have to manually confirm that you want to do this.
yum -y remove python-lockfile
This command will un-install python-lockfile 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-lockfile when using the -y flag.
yum update python-lockfile
This command will update python-lockfile to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-lockfile, so you have to manually confirm that you want to do this.
yum -y update python-lockfile
This command will update python-lockfile 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-lockfile when using the -y flag.
yum info python-lockfile
This command will show you core information about the python-lockfile package.
yum deplist python-lockfile
This command will show you the dependencies for python-lockfile. 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-lockfile
This command will check if there is an update waiting on python-lockfile. 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.