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

Last updated: May 20,2024

1. Install "python2-lockfile" package

Please follow the guidance below to install python2-lockfile on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-lockfile

2. Uninstall "python2-lockfile" package

Learn how to uninstall python2-lockfile on openSUSE Leap:

$ sudo zypper remove python2-lockfile

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

Information for package python2-lockfile:
-----------------------------------------
Repository : Main Repository
Name : python2-lockfile
Version : 0.10.2-bp153.1.15
Arch : noarch
Vendor : openSUSE
Installed Size : 94,5 KiB
Installed : No
Status : not installed
Source package : python-lockfile-0.10.2-bp153.1.15.src
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.

5. The same packages on other Linux Distributions