Automic VaultAutomic Vault

brew

使用 Homebrew, pacman, zypper, apk, apt, dnf, MacPorts, Nix, chocolatey, scoop, winget 安装 lua@5.4

查看 lua@5.4 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lua@5.4

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lua

MacPorts ports tree · lang/lua/Portfile · 来源: api.github.com

Linux

Arch Linux pacman已验证 · 92%
sudo pacman -S lua54

Arch Linux sync databases · lua54 · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install lua54

openSUSE Tumbleweed package metadata · lua54 · 来源: download.opensuse.org

Alpine Linux apk已验证 · 92%
sudo apk add lua5.4

Alpine Linux edge package indexes · lua5.4 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install liblua5.4-0

Debian stable package indexes · liblua5.4-0 · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lua

Fedora Rawhide package metadata · lua · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#lua

nixpkgs package indexes · lua · 来源: raw.githubusercontent.com

概览

软件包摘要

Powerful, lightweight programming language

命令和别名

  • lua-5.4
  • lua5.4
  • luac-5.4
  • luac5.4

历史

项目历史与用法

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.

时间线

  • 1993: Lua was created at PUC-Rio.
  • 2020-06-29: Lua 5.4 was released.
  • 2020: Lua 5.4 introduced generational garbage collection mode and const/to-be-closed variables.
  • 2025-06-04: The official version history lists Lua 5.4.8 as a current 5.4 release.

Related projects

  • Lua is the unversioned current formula for the same reference implementation family.
  • LuaRocks commonly installs modules against a specific Lua minor version.
  • LuaLS and Luacheck both document support for Lua 5.4 language semantics.
  • LuaJIT remains important for Lua 5.1-family compatibility, making versioned Lua packages part of normal Lua ecosystem work.

安全态势

尚未找到受保护工具覆盖

没有找到 lua@5.4 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lua-5.4cli全局可执行文件
lua5.4cli全局可执行文件
luac-5.4cli全局可执行文件
luac5.4cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本5.4.8
管理器更新时间2026-06-19
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.lua.org/

  • 信息Release/tag comparison is only available for GitHub repositories.https://www.lua.org/none 置信度

安装元数据

软件包元数据

软件包键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
Pulseupdated
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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelua@5.4
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt92%

liblua5.4-0 5.4.7-1+b2

Shared library for the Lua interpreter version 5.4

http://www.lua.org

sudo apt install liblua5.4-0
  • Section: libs
  • Architecture: amd64
  • Source Package: lua5.4
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Lua5 4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblua5.4-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

liblua5.4-dev 5.4.7-1+b2

Development files for the Lua language version 5.4

http://www.lua.org

sudo apt install liblua5.4-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lua5.4
  • 4 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Lua5 4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblua5.4-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

lua5.4 5.4.7-1+b2

Simple, extensible, embeddable programming language

http://www.lua.org

sudo apt install lua5.4
  • Section: interpreters
  • Architecture: amd64
  • Source Package: lua5.4
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Lua5 4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lua5.4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

liblua5.4-0 5.4.6-3build2

Shared library for the Lua interpreter version 5.4

http://www.lua.org

sudo apt install liblua5.4-0
  • Section: libs
  • Architecture: amd64
  • Source Package: lua5.4
  • 2 依赖
  • installed executable or alias match
  • 匹配方式:Lua5 4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblua5.4-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

liblua5.4-dev 5.4.6-3build2

Development files for the Lua language version 5.4

http://www.lua.org

sudo apt install liblua5.4-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: lua5.4
  • 4 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Lua5 4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblua5.4-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt92%

lua5.4 5.4.6-3build2

Simple, extensible, embeddable programming language

http://www.lua.org

sudo apt install lua5.4
  • Section: universe/interpreters
  • Architecture: amd64
  • 2 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Lua5 4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lua5.4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

lua5.4 5.4.8-r0

Powerful light-weight programming language

https://www.lua.org/

sudo apk add lua5.4
  • License: MIT
  • Architecture: x86_64
  • Source Package: lua5.4
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Lua5 4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lua5.4 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

lua5.4-dbg 5.4.8-r0

Powerful light-weight programming language (debug symbols)

https://www.lua.org/

sudo apk add lua5.4-dbg
  • License: MIT
  • Architecture: x86_64
  • Source Package: lua5.4
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Lua5 4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lua5.4-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

lua5.4-dev 5.4.8-r0

Powerful light-weight programming language (development files)

https://www.lua.org/

sudo apk add lua5.4-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: lua5.4
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Lua5 4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lua5.4-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

lua5.4-doc 5.4.8-r0

Powerful light-weight programming language (documentation)

https://www.lua.org/

sudo apk add lua5.4-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: lua5.4
  • installed executable or alias match
  • 匹配方式:Lua5 4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lua5.4-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

lua5.4-libs 5.4.8-r0

Lua dynamic library runtime

https://www.lua.org/

sudo apk add lua5.4-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: lua5.4
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Lua5 4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lua5.4-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
pacman92%

lua54 5.4.8-6

Powerful lightweight programming language designed for extending applications

https://www.lua.org/

sudo pacman -S lua54
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • package manager index match
  • 匹配方式:Lua54
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lua54 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper92%

liblua5_4-5 5.4.8-4.4

The Lua integration library

https://www.lua.org

sudo zypper install liblua5_4-5
  • License: MIT
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: lua54
  • 3 依赖
  • 5 提供
  • package manager index match
  • 匹配方式:Lua54
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblua5_4-5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

liblua5_4-5-32bit 5.4.8-4.4

The Lua integration library

https://www.lua.org

sudo zypper install liblua5_4-5-32bit
  • License: MIT
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: lua54
  • 3 依赖
  • 2 提供
  • package manager index match
  • 匹配方式:Lua54
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblua5_4-5-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

lua54 5.4.8-4.4

Small Embeddable Language with Procedural Syntax

https://www.lua.org

sudo zypper install lua54
  • License: MIT
  • Category: Development/Languages/Other
  • Architecture: x86_64
  • Source Package: lua54
  • 5 依赖
  • 3 提供
  • package manager index match
  • 匹配方式:Lua54
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lua54 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

lua54-devel 5.4.8-4.4

Development files for lua

https://www.lua.org

sudo zypper install lua54-devel
  • License: MIT
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: lua54
  • 4 依赖
  • 4 提供
  • package manager index match
  • 匹配方式:Lua54
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lua54-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment