# 使用 Homebrew, apk, dnf, pacman, zypper 安装 wxwidgets

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

## 安装

```sh
sudo av install brew:wxwidgets
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wxwidgets
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add wxwidgets
```

  证据: Alpine Linux edge package indexes: wxwidgets from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install wxGTK
```

  证据: Fedora Rawhide package metadata: wxGTK from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S wxwidgets-qt5
```

  证据: Arch Linux sync databases: wxwidgets-qt5 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libwx_baseu-suse-nostl16_0_0
```

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

## 软件包事实

- **软件包键:** brew:wxwidgets
- **软件包管理器:** Homebrew
- **版本:** 3.3.3
- **来源摘要:** Cross-platform C++ GUI toolkit
- **主页:** <https://www.wxwidgets.org>
- **仓库:** <https://github.com/wxWidgets/wxWidgets>
- **最后更新:** 2026-07-08T03:44:57Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wx-config (别名)
- wx-config-3.3 (别名)
- wxrc (别名)
- wxrc-3.3 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

wxWidgets is a long-running, cross-platform C++ GUI toolkit whose package-manager importance comes from its role as a native-widget portability layer for desktop applications. The project began in 1992 as wxWindows and later adopted the wxWidgets name, while keeping the central idea that one C++ codebase can target Windows, Unix/Linux, macOS, and other platforms through native or platform-specific ports.

### 项目历史

The official wxWidgets history traces the project to Julian Smart at the Artificial Intelligence Applications Institute, University of Edinburgh, in 1992. Smart was building Hardy, a meta-CASE tool that needed to run on Windows and X-based Unix workstations; commercial cross-platform GUI tools were too expensive for the in-house experimental project, so the toolkit was created as wxWindows.

The project's name changed from wxWindows to wxWidgets in 2004 after an agreement involving Microsoft's Windows trademark. The official name-change page says Julian Smart and Robin Dunn would stop using the wxWindows name by August 2004, with the new wxwidgets.org domain becoming the project's public identity.

wxWidgets developed as a community-maintained toolkit rather than a single-vendor product. The official overview describes hundreds of contributors and a user base ranging from open-source developers to corporations, while the team page identifies maintainers around major ports and related projects such as wxGTK, wxMac, wxiOS, and wxPython.

### 采用历史

wxWidgets has been adopted where native desktop look-and-feel and C++ portability matter more than a web-style UI stack. The official overview lists organizations and applications associated with wxWidgets, including AOL, AMD, Lockheed Martin, Xerox, NASA, Audacity, FileZilla, and TortoiseCVS.

The license helped adoption across both free-software and proprietary contexts. The wxWidgets license page describes the wxWindows Library Licence as LGPL-like with an exception allowing derived binary works to be distributed on the user's own terms, a compromise intended to satisfy GPL and proprietary application authors.

### 使用方式

Developers use wxWidgets as a library and toolchain component for native GUI applications, usually compiling against a platform port such as wxMSW, wxGTK, or wxMac. In package-manager contexts, the notable command-line surfaces are helper tools such as wx-config, which reports compiler and linker flags, and wxrc, which compiles XRC resource files.

In C and C++ packaging, wxWidgets is the kind of dependency that exposes ABI and version-line concerns: downstream software often cares about which major stable branch it builds against, and build systems commonly discover it through wx-config or CMake support rather than treating it as a header-only library.

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

For package maintainers, wxWidgets is a classic desktop-stack dependency: old enough to have long ABI lines and wide downstream use, but still active enough to need modern compiler, CMake, macOS, GTK, and architecture support. Its formula is significant less because of a single executable and more because it supplies the GUI substrate for many other packages.

The package also illustrates why GUI toolkit packaging is harder than ordinary CLI packaging: bindings, native toolkit backends, resource compilers, and ABI-compatible stable branches all matter to downstream builds.

### 时间线

- 1992: Julian Smart starts wxWindows at the University of Edinburgh's Artificial Intelligence Applications Institute.
- 1998-2005: The wxWindows Library Licence text is maintained by Julian Smart, Robert Roebling, and contributors.
- 2004: The project transitions from the wxWindows name to wxWidgets.
- 2013: wxWidgets 3.0 is released as a major stable line.
- 2022: wxWidgets 3.2.0 is released, opening the next ABI-stable series after the 3.0 line.

### Related projects

- wxPython is the Python binding project around wxWidgets; the wxWidgets team page notes Robin Dunn's work on wxPython and its relationship to the toolkit.
- Related desktop GUI toolkits in the same packaging ecosystem include Qt, GTK/gtkmm, FLTK, FOX, JUCE, and IUP; wxWidgets is distinguished by its native-widget abstraction and long C++ history.

### 来源

- <https://wxwidgets.org/about/>
- <https://wxwidgets.org/about/history/>
- <https://wxwidgets.org/about/licence/>
- <https://wxwidgets.org/about/name-change/>
- <https://wxwidgets.org/about/team/>
- <https://wxwidgets.org/news/2022/07/wxwidgets-3.2.0-final-release/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- apk - wxwidgets - 3.2.9-r0: normalized package name match | Alpine Linux edge package indexes: wxwidgets from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | wxWidgets GUI library | https://www.wxwidgets.org/
- apk - wxwidgets-dbg - 3.2.9-r0: normalized package name match | Alpine Linux edge package indexes: wxwidgets-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | wxWidgets GUI library (debug symbols) | https://www.wxwidgets.org/
- apk - wxwidgets-dev - 3.2.9-r0: normalized package name match | Alpine Linux edge package indexes: wxwidgets-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | wxWidgets GUI library (development files) | https://www.wxwidgets.org/
- apk - wxwidgets-doc - 3.2.9-r0: normalized package name match | Alpine Linux edge package indexes: wxwidgets-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | wxWidgets GUI library (documentation) | https://www.wxwidgets.org/
- apk - wxwidgets-gtk3 - 3.2.9-r0: normalized package name match | Alpine Linux edge package indexes: wxwidgets-gtk3 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | wxWidgets GUI library (GTK3 components) | https://www.wxwidgets.org/
- apk - wxwidgets-qt5 - 3.2.9-r0: normalized package name match | Alpine Linux edge package indexes: wxwidgets-qt5 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | wxWidgets GUI library (Qt5 components) | https://www.wxwidgets.org/
- apk - wxwidgets-webview - 3.2.9-r0: normalized package name match | Alpine Linux edge package indexes: wxwidgets-webview from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | wxWidgets GUI library (WebView component) | https://www.wxwidgets.org/
- dnf - wxGTK - 3.2.11-1.fc45: normalized package name match | Fedora Rawhide package metadata: wxGTK from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | GTK port of the wxWidgets GUI library | https://www.wxwidgets.org/
- pacman - wxwidgets-qt5 - 3.2.11-2: normalized package name match | Arch Linux sync databases: wxwidgets-qt5 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Qt5 implementation of wxWidgets API for GUI | https://wxwidgets.org
- zypper - libwx_baseu-suse-nostl16_0_0 - 3.2.8-4.6: normalized package name match | openSUSE Tumbleweed package metadata: libwx_baseu-suse-nostl16_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | wxWidgets base library | https://www.wxwidgets.org/
- zypper - libwx_baseu-suse16_0_0 - 3.2.8-4.6: normalized package name match | openSUSE Tumbleweed package metadata: libwx_baseu-suse16_0_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | wxWidgets base library | https://www.wxwidgets.org/


## Combined YAML source

View the package source record on GitHub. [combined/wxwidgets.yml](https://github.com/mxcl/pkgdb/blob/main/combined/wxwidgets.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
