GetPageSpeed Extras

luajit2

How to install luajit2 on Amazon Linux

OpenResty's Just-In-Time Compiler for Lua

License: MIT https://github.com/openresty/luajit2

Availability

Distro aarch64 noarch x86_64 Version
Amazon Linux 2023 2.1
Amazon Linux 2012.03 2.1
Amazon Linux 2 2.1

Description

OpenResty's maintained branch of LuaJIT. Note that these packages do not have "Provides: luajit" intentionally, as they are only meant to be consumed explicitly, e.g. by OpenResty's NGINX Lua module. Thus the libname is as per upstream, luajit2. If you want to link against luajit2, use, e.g. pkgconfig(luajit2). LuaJIT implements the full set of language features defined by Lua 5.1. The virtual machine (VM) is API- and ABI-compatible to the standard Lua interpreter and can be deployed as a drop-in replacement. This RPM was obtained from extras.getpagespeed.com

Built for Amazon Linux.

Install

luajit2 on Amazon Linux 2, 2012.03, 2023

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install luajit2

Package downloads require an active GetPageSpeed subscription — one repository for luajit2 and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install luajit2 on Amazon Linux?

Add the GetPageSpeed repository, then install the luajit2 package with your system package manager.

Which Amazon Linux versions is luajit2 available for?

luajit2 is available for Amazon Linux 2, 2012.03, 2023.

Subscribe