# 使用 Homebrew, zypper, MacPorts 安装 wxlua

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

## 安装

```sh
sudo av install brew:wxlua
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wxlua
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wxLua
```

  证据: MacPorts ports tree: graphics/wxLua/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- zypper (92%):

```sh
sudo zypper install wxlua
```

  证据: openSUSE Tumbleweed package metadata: wxlua from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:wxlua
- **软件包管理器:** Homebrew
- **版本:** 3.2.0.2
- **来源摘要:** Lua bindings for wxWidgets cross-platform GUI toolkit
- **主页:** <https://github.com/pkulchenko/wxlua>
- **仓库:** <https://github.com/pkulchenko/wxlua>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wxLua (别名)
- wxLuaCan (别名)
- wxLuaFreeze (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.2.0.2
## 项目历史与用法

wxLua is a Lua binding layer for wxWidgets, giving Lua programs access to native-looking GUI widgets on Windows, macOS, and Linux. It is both an embeddable library and a set of tools for editing, debugging, running, and freezing wxLua scripts.

### 项目历史

The current repository credits John Labenski and Paul Kulchenko and describes wxLua as supporting Lua 5.1 through 5.4, LuaJIT, and wxWidgets 3.x. The manual describes a wrapper around wxWidgets plus IDE-style editors, wxLuaFreeze, a require("wx") module, and a library for embedding Lua scripting in C++ programs.

The changelog shows a long maintenance line: version 2.8.0.0 was released in December 2006, a 2.8.12 series followed in 2012 and 2013, the 3.x line modernized the binding generation and wxWidgets 3 support in 2019 and 2020, and version 3.2.0.2 was released in November 2022.

### 采用历史

wxLua's adoption has been niche but durable: it serves Lua users who want native GUI applications without writing C++, and C++ applications that want to embed Lua while exposing wxWidgets objects. The repository README points to ZeroBrane Studio as an example of a full IDE built with wxLua.

### 使用方式

Lua programmers can use wxLua to write standalone GUI scripts, load the wx module from a standard Lua executable, or package scripts with wxLuaFreeze. C++ developers can embed a wxLuaState and selectively expose wxWidgets classes, trimming bindings with preprocessor switches where application size matters.

### 为什么软件包爱好者会关心

wxLua is package-nerd significant because it is a bridge between two compact, embeddable cultures: Lua scripting and wxWidgets native GUI programming. Its changelog is mostly binding maintenance, exactly the kind of work package managers preserve so old GUI tools keep building across Lua and wxWidgets releases.

### 时间线

- 2006-12-24: wxLua 2.8.0.0 released, switching to Lua 5.1 and adding wxLuaFreeze.
- 2012-06-28: wxLua 2.8.12.0 released with CMake builds and Lua 5.1.5.
- 2013-09-12: wxLua 2.8.12.3 released with Lua 5.1 and 5.2 support.
- 2019-06-28: wxLua 3.0.0.1 released with Lua 5.3 compatibility and updated wxWidgets bindings.
- 2020-09-12: wxLua 3.1.0.0 released with Lua 5.4 compatibility work.
- 2022-11-06: wxLua 3.2.0.2 released.

### Related projects

- wxLua is related to Lua, LuaJIT, wxWidgets, ZeroBrane Studio, SWIG-style binding generation, and embeddable scripting systems for C++ applications.

### 来源

- <https://github.com/pkulchenko/wxlua>
- <https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/changelog.md>
- <https://github.com/pkulchenko/wxlua/blob/master/wxLua/docs/wxlua.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- zypper - libwxlua - 3.1.0.0+42-3.4: normalized package name match | openSUSE Tumbleweed package metadata: libwxlua from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Set of Lua bindings to the C++ wxWidgets cross-platform GUI library | https://github.com/pkulchenko/wxlua
- zypper - libwxlua-wx32-3_1_0_0 - 3.1.0.0+42-3.4: normalized package name match | openSUSE Tumbleweed package metadata: libwxlua-wx32-3_1_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lua bindings to the C++ wxWidgets cross-platform GUI library | https://github.com/pkulchenko/wxlua
- zypper - libwxlua_bind-wx32-3_1_0_0 - 3.1.0.0+42-3.4: normalized package name match | openSUSE Tumbleweed package metadata: libwxlua_bind-wx32-3_1_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lua bindings to the C++ wxWidgets cross-platform GUI library | https://github.com/pkulchenko/wxlua
- zypper - libwxlua_debug-wx32-3_1_0_0 - 3.1.0.0+42-3.4: normalized package name match | openSUSE Tumbleweed package metadata: libwxlua_debug-wx32-3_1_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lua bindings to the C++ wxWidgets cross-platform GUI library | https://github.com/pkulchenko/wxlua
- zypper - libwxlua_debugger-wx32-3_1_0_0 - 3.1.0.0+42-3.4: normalized package name match | openSUSE Tumbleweed package metadata: libwxlua_debugger-wx32-3_1_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lua bindings to the C++ wxWidgets cross-platform GUI library | https://github.com/pkulchenko/wxlua
- zypper - wxlua - 3.1.0.0+42-3.4: normalized package name match | openSUSE Tumbleweed package metadata: wxlua from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Lua bindings for wxWidgets | https://github.com/pkulchenko/wxlua
- zypper - wxlua-devel - 3.1.0.0+42-3.4: normalized package name match | openSUSE Tumbleweed package metadata: wxlua-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files of libwxlua | https://github.com/pkulchenko/wxlua
- MacPorts - wxLua: normalized package name match | MacPorts ports tree: graphics/wxLua/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/wxlua.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wxlua.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
