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

Last updated: November 27,2024

1. Install "python-lockfile" package

In this section, we are going to explain the necessary steps to install python-lockfile on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-lockfile

2. Uninstall "python-lockfile" package

Learn how to uninstall python-lockfile on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-lockfile
Priority: extra
Section: python
Installed-Size: 62
Maintainer: Ubuntu Developers
Original-Maintainer: Ben Finney
Architecture: all
Version: 1:0.12.2-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: python-lockfile-doc
Filename: pool/main/p/python-lockfile/python-lockfile_0.12.2-1_all.deb
Size: 14092
MD5sum: 32d33ae6581e15b3007479985fa4bd2c
SHA1: e215838b8a18339596f824da8a7429ddb218f5fb
SHA256: 3baccbb5398206adc817c52665ef81fe16a0f34f64bd0521d423ba35497dc08d
Description-en: file locking library for Python — Python 2 library
The ‘lockfile’ library exports a ‘LockFile’ class which provides a
simple API for locking files.
.
The appropriate implementation for ‘LockFile’ is chosen automatically
based on the OS capabilities for an atomic filesystem operation.
These implementations are also available for explicit use as
‘LinkLockFile’ and ‘MkdirLockFile’.
.
Other back ends are possible with the same semantics. Examples
included are:
* ‘SQLiteLockFile’, using records in an SQLite database.
* ‘PIDLockFile’, using the semantics of a Unix PID file.
.
Unlike other Python locking libraries (the Windows ‘msvcrt.locking’
function, the Unix ‘fcntl.flock’, ‘fcntl.lockf’, and the deprecated
‘posixfile’ module), the API is identical across both Unix (including
GNU/Linux and MacOS) and Windows platforms.
.
This package installs the Python 2 library.
Description-md5: 99918331539000a98062b881836b13d4
Homepage: https://pypi.python.org/pypi/lockfile/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 3y
Task: ubuntu-gnome-desktop, ubuntu-mate-desktop