How to Install and Uninstall python3-lockfile Package on openSUSE Leap

Last updated: April 30,2024

1. Install "python3-lockfile" package

Here is a brief guide to show you how to install python3-lockfile on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-lockfile

2. Uninstall "python3-lockfile" package

Please follow the instructions below to uninstall python3-lockfile on openSUSE Leap:

$ sudo zypper remove python3-lockfile

3. Information about the python3-lockfile package on openSUSE Leap

Information for package python3-lockfile:
-----------------------------------------
Repository : Main Repository
Name : python3-lockfile
Version : 0.10.2-2.24
Arch : noarch
Vendor : SUSE LLC
Installed Size : 83.5 KiB
Installed : No
Status : not installed
Source package : python-lockfile-0.10.2-2.24.src
Upstream URL : https://github.com/openstack/pylockfile
Summary : Platform-independent file locking module
Description :
The lockfile package exports a LockFile class which provides a simple API for
locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf
and flock functions, 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. An implementation based on SQLite is also
provided, more as a demonstration of the possibilities it provides than as
production-quality code.