How to install python36-lockfile on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Platform-independent file locking module
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | — | — | |
| RHEL 7 | — | ✓ | — | 0.11.0 |
| RHEL 6 | — | — | — |
Description
The lockfile module exports a FileLock class which provides a simple API for locking files. Unlike the Windows msvcrt.locking function, the Unix fcntl.flock, fcntl.lockf 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.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
python36-lockfile on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install python36-lockfile
Package downloads require an active GetPageSpeed subscription — one repository for python36-lockfile and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install python36-lockfile on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the python36-lockfile package with your system package manager.
Which Enterprise Linux versions is python36-lockfile available for?
python36-lockfile is available for RHEL 7.