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

Last updated: September 20,2024

1. Install "python3-lockfile" package

This guide covers the steps necessary to install python3-lockfile on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-lockfile

2. Uninstall "python3-lockfile" package

Please follow the instructions below to uninstall python3-lockfile on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python3-lockfile
Priority: optional
Section: universe/python
Installed-Size: 62
Maintainer: Ubuntu Developers
Original-Maintainer: Ben Finney
Architecture: all
Source: python-lockfile
Version: 1:0.12.2-1
Depends: python3:any (>= 3.3.2-2~)
Suggests: python-lockfile-doc
Filename: pool/universe/p/python-lockfile/python3-lockfile_0.12.2-1_all.deb
Size: 14168
MD5sum: a759082f360d1f2dab79227794cba3db
SHA1: 279ccd763e73ebdbae3b20f55811fc0634b658ac
SHA256: 32f1fc623aeabfdc206c554b947d5b0781a9f4e71593564e2ca36e863c371fa0
Description-en: file locking library for Python — Python 3 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 3 library.
Description-md5: 7c22094bbc996734201b5955c3255868
Homepage: https://pypi.python.org/pypi/lockfile/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu