macOS
brew install lua@5.4local Homebrew formula metadata
sudo port install luaMacPorts ports tree · lang/lua/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für lua@5.4 in AI-Agent-Workflows.
Installation
brew install lua@5.4local Homebrew formula metadata
sudo port install luaMacPorts ports tree · lang/lua/Portfile · Quelle: api.github.com
sudo pacman -S lua54Arch Linux sync databases · lua54 · Quelle: geo.mirror.pkgbuild.com
sudo zypper install lua54openSUSE Tumbleweed package metadata · lua54 · Quelle: download.opensuse.org
sudo apk add lua5.4Alpine Linux edge package indexes · lua5.4 · Quelle: dl-cdn.alpinelinux.org
sudo apt install liblua5.4-0Debian stable package indexes · liblua5.4-0 · Quelle: deb.debian.org
sudo dnf install luaFedora Rawhide package metadata · lua · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#luanixpkgs package indexes · lua · Quelle: raw.githubusercontent.com
choco install LuaChocolatey community package catalog · Lua · Quelle: community.chocolatey.org
scoop install main/luaScoop official bucket manifest trees · bucket/lua.json · Quelle: api.github.com
winget install --id DEVCOM.Lua -eWindows Package Manager source index · DEVCOM.Lua · Quelle: cdn.winget.microsoft.com
Überblick
Powerful, lightweight programming language
Verlauf
Lua 5.4 is the Homebrew versioned package for the Lua 5.4 runtime line. It exists because Lua minor versions can differ in API, ABI, virtual machine, and language behavior, so package managers keep older supported series available beside the current lua formula.
Lua 5.4 belongs to the long-running Lua 5.x family from PUC-Rio and Lua.org. The official version history says Lua 5.4 was released on 29 Jun 2020, with a new generational garbage collection mode plus const and to-be-closed variables as its main new features.
The official Lua 5.4 manual describes Lua as a lightweight embeddable language implemented as a clean C library plus the standalone lua host program. In the 5.4 line, those long-standing Lua traits continued while the runtime refined memory-management and resource-finalization behavior.
The versioned 5.4 package is distinct from the unversioned lua package because applications embedding Lua, C modules, and precompiled Lua chunks may be tied to a specific minor version. The official version history explicitly warns that different Lua versions are really different: APIs may change, there is no ABI compatibility, and virtual machines are likely to differ.
Lua 5.4 became the stable post-5.3 runtime line for projects that wanted standard Lua while avoiding a jump to later language changes. The supplied package-manager facts show dedicated Lua 5.4 packaging across apk, Homebrew, Debian, Ubuntu, pacman, and other ecosystems, reflecting the common distribution habit of keeping several Lua runtimes installable at once.
For downstream packages, Lua 5.4 support also mattered because developer tools such as Luacheck and LuaLS had to understand 5.4 syntax and standard-library definitions. Luacheck's changelog records Lua 5.4 support work in 2020, and LuaLS now documents support for Lua 5.4 alongside other Lua versions.
Users install lua@5.4 when a script, embedded application, or Lua C module expects the 5.4 API or executable naming. The package provides lua and luac variants for the 5.4 series and does not require a runtime configuration or credentials file.
Packagers treat lua@5.4 as a compatibility runtime. It lets formulas pin to Lua 5.4 while the unversioned lua package moves forward, reducing accidental ABI and behavior changes for embedded users.
lua@5.4 is package-nerd material because it is all about versioning discipline. The package preserves an ABI and language line that other packages can depend on, which is exactly why language runtimes often live in both current and versioned formulas.
Sicherheitslage
Für lua@5.4 wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
lua-5.4 | cli | globales Executable | |
lua5.4 | cli | globales Executable | |
luac-5.4 | cli | globales Executable | |
luac5.4 | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:lua@5.4 |
|---|---|
| Version | 5.4.8 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/lua@5.4 |
| Homepage | https://www.lua.org/ |
| Repository | https://github.com/lua/lua |
| Upstream-Dokumentation | https://www.lua.org/manual/5.4 |
| Lizenz | MIT |
| Quellarchiv | https://www.lua.org/ftp/lua-5.4.8.tar.gz |
| Zuletzt aktualisiert | 2026-06-19T12:31:49-07:00 |
| Pulse | updated |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
| Einschränkungen | You may also want luarocks: brew install luarocks |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lua@5.4 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
liblua5.4-0 5.4.7-1+b2
Shared library for the Lua interpreter version 5.4
sudo apt install liblua5.4-0liblua5.4-dev 5.4.7-1+b2
Development files for the Lua language version 5.4
sudo apt install liblua5.4-devlua5.4 5.4.7-1+b2
Simple, extensible, embeddable programming language
sudo apt install lua5.4liblua5.4-0 5.4.6-3build2
Shared library for the Lua interpreter version 5.4
sudo apt install liblua5.4-0liblua5.4-dev 5.4.6-3build2
Development files for the Lua language version 5.4
sudo apt install liblua5.4-devlua5.4 5.4.6-3build2
Simple, extensible, embeddable programming language
sudo apt install lua5.4lua5.4 5.4.8-r0
Powerful light-weight programming language
sudo apk add lua5.4lua5.4-dbg 5.4.8-r0
Powerful light-weight programming language (debug symbols)
sudo apk add lua5.4-dbglua5.4-dev 5.4.8-r0
Powerful light-weight programming language (development files)
sudo apk add lua5.4-devlua5.4-doc 5.4.8-r0
Powerful light-weight programming language (documentation)
sudo apk add lua5.4-doclua5.4-libs 5.4.8-r0
Lua dynamic library runtime
sudo apk add lua5.4-libslua54 5.4.8-6
Powerful lightweight programming language designed for extending applications
sudo pacman -S lua54liblua5_4-5 5.4.8-4.4
The Lua integration library
sudo zypper install liblua5_4-5liblua5_4-5-32bit 5.4.8-4.4
The Lua integration library
sudo zypper install liblua5_4-5-32bitlua54 5.4.8-4.4
Small Embeddable Language with Procedural Syntax
sudo zypper install lua54lua54-devel 5.4.8-4.4
Development files for lua
sudo zypper install lua54-develQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.