macOS
brew install lua@5.4local Homebrew formula metadata
安装
brew install lua@5.4local Homebrew formula metadata
sudo pacman -S lua54Arch Linux sync databases · lua54 · 来源: geo.mirror.pkgbuild.com
sudo zypper install lua54openSUSE Tumbleweed package metadata · lua54 · 来源: download.opensuse.org
sudo apk add lua5.4Alpine Linux edge package indexes · lua5.4 · 来源: dl-cdn.alpinelinux.org
sudo apt install liblua5.4-0Debian stable package indexes · liblua5.4-0 · 来源: deb.debian.org
sudo dnf install luaFedora Rawhide package metadata · lua · 来源: dl.fedoraproject.org
nix profile install nixpkgs#luanixpkgs package indexes · lua · 来源: raw.githubusercontent.com
choco install LuaChocolatey community package catalog · Lua · 来源: community.chocolatey.org
scoop install main/luaScoop official bucket manifest trees · bucket/lua.json · 来源: api.github.com
winget install --id DEVCOM.Lua -eWindows Package Manager source index · DEVCOM.Lua · 来源: cdn.winget.microsoft.com
概览
Powerful, lightweight programming language
历史
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.
安全态势
没有找到 lua@5.4 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lua-5.4 | cli | 全局可执行文件 | |
lua5.4 | cli | 全局可执行文件 | |
luac-5.4 | cli | 全局可执行文件 | |
luac5.4 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:lua@5.4 |
|---|---|
| 版本 | 5.4.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/lua@5.4 |
| 主页 | https://www.lua.org/ |
| 仓库 | https://github.com/lua/lua |
| 上游文档 | https://www.lua.org/manual/5.4 |
| 许可证 | MIT |
| 源码归档 | https://www.lua.org/ftp/lua-5.4.8.tar.gz |
| 最后更新 | 2026-06-19T12:31:49-07:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | You may also want luarocks: brew install luarocks |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.