How to install luajit2 on Fedora Linux
OpenResty's Just-In-Time Compiler for Lua
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Fedora 44 | ✓ | — | ✓ | 2.1 |
| Fedora 43 | ✓ | — | ✓ | 2.1 |
| Fedora 42 | ✓ | — | ✓ | 2.1 |
| Fedora 41 | ✓ | — | ✓ | 2.1 |
| Fedora 40 | ✓ | — | ✓ | 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 Fedora Linux.
Install
luajit2 on Fedora Linux 40, 41, 42, 43, 44
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 Fedora Linux.
Subscribe — from $10/moFrequently asked questions
How do I install luajit2 on Fedora Linux?
Add the GetPageSpeed repository, then install the luajit2 package with your system package manager.
Which Fedora Linux versions is luajit2 available for?
luajit2 is available for Fedora 40, 41, 42, 43, 44.