GetPageSpeed Extras

lua-resty-lock

How to install lua-resty-lock on Amazon Linux

Simple nonblocking lock API for nginx-module-lua based on shared memory dictionaries

License: BSD https://github.com/openresty/lua-resty-lock

Availability

Distro aarch64 noarch x86_64 Version
Amazon Linux 2023 0.9
Amazon Linux 2012.03 0.8
Amazon Linux 2 0.9

Description

Simple nonblocking lock API for nginx-module-lua based on shared memory dictionaries.

Built for Amazon Linux.

Install

lua-resty-lock on Amazon Linux 2, 2012.03, 2023

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install lua-resty-lock

Package downloads require an active GetPageSpeed subscription — one repository for lua-resty-lock and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install lua-resty-lock on Amazon Linux?

Add the GetPageSpeed repository, then install the lua-resty-lock package with your system package manager.

Which Amazon Linux versions is lua-resty-lock available for?

lua-resty-lock is available for Amazon Linux 2, 2012.03, 2023.

Subscribe