# Install wxlua with Homebrew, zypper, MacPorts

Lua bindings for wxWidgets cross-platform GUI toolkit. Version 3.2.0.2 via Homebrew; verified from local package data. Also installable with zypper: sudo zypper install libwxlua.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wxlua
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wxLua
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:wxlua
- **Package manager:** Homebrew
- **Version:** 3.2.0.2
- **Source summary:** Lua bindings for wxWidgets cross-platform GUI toolkit
- **Homepage:** <https://github.com/pkulchenko/wxlua>
- **Repository:** <https://github.com/pkulchenko/wxlua>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- wxLua (alias)
- wxLuaCan (alias)
- wxLuaFreeze (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.2.0.2
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- 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)


## Sources

- 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
