How to Install and Uninstall python3-lockfile Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 21,2024

1. Install "python3-lockfile" package

This is a short guide on how to install python3-lockfile on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-lockfile

2. Uninstall "python3-lockfile" package

Please follow the guidelines below to uninstall python3-lockfile on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-lockfile package on Ubuntu 21.10 (Impish Indri)

Package: python3-lockfile
Architecture: all
Version: 1:0.12.2-2.2
Priority: optional
Section: python
Source: python-lockfile
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ben Finney
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 64
Depends: python3:any
Suggests: python-lockfile-doc
Filename: pool/main/p/python-lockfile/python3-lockfile_0.12.2-2.2_all.deb
Size: 14576
MD5sum: 908577fe9428ec8dba1e28d90017da07
SHA1: 8ecb90851f2ee146fb7a88d21121d9753cb269f8
SHA256: 3c858ecd31235d29431d154a98204d22c1b4bc04d7bc7dd48c46f246f59f2896
SHA512: 42b05178a477d365a881a301455ea597d07181aea56cd247598ee1dec981cda1af9d86124b355910e06b254edff4a4b5cb73a7deb7d14abd6af2586d7a96de80
Homepage: https://pypi.python.org/pypi/lockfile/
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
Task: ubuntu-desktop, ubuntu-desktop-raspi, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi