macOS
brew install gtk+local Homebrew formula metadata
安装
brew install gtk+local Homebrew formula metadata
sudo dnf install gtk+Fedora Rawhide package metadata · gtk+ · 来源: dl.fedoraproject.org
概览
GUI toolkit
历史
GTK is the GNOME-hosted widget toolkit for building graphical user interfaces, written in C and built on GLib. The Homebrew gtk+ formula represents the GTK+ 2 version track, a long-lived ABI era that many older Unix desktop applications and libraries were written against.
GTK+ 2 matters historically because it was the toolkit generation that carried much of the GNOME 2 desktop ecosystem, the classic gtk+-2.0 pkg-config identity, and a large body of applications through the 2000s and 2010s.
GTK sources carry the older 'The GIMP Toolkit' identity in project files, and the GTK web site places project copyright from 1997 onward. The project became a GNOME-hosted, LGPL-licensed toolkit with GLib as its foundation and a programming model centered on widgets, signals, GObject, and language bindings.
GTK+ 2.0.0 tarballs appeared in the GNOME source archive on 2002-03-08. The 2.x line standardized the gtk+-2.0 development package identity and became the common target for a large generation of GNOME and cross-platform Unix GUI software.
GTK+ 2.24.0 was tagged in 2011, and the 2.24 series became the terminal GTK+ 2 branch exposed by many package managers. The GNOME source archive shows GTK+ 2.24.33 tarballs dated 2020-12-21, illustrating the long maintenance tail of the GTK+ 2 API track.
GTK adoption is intertwined with GNOME, but the official GTK site emphasizes broader use: applications built with GTK include GIMP, Fonts, Calculator, Web, Inkscape, Evolution, Image Viewer, Polari, Podcasts, Maps, Transmission, Secrets, and HandBrake. GTK+ 2 was especially visible in traditional desktop apps that predate the GTK 3 and GTK 4 application models.
Language bindings are a major adoption path. The GTK site notes bindings and wrappers for languages such as Python, JavaScript, Perl, Rust, and Vala, and the GTK+ 2 era helped make GTK a common package dependency outside pure C projects.
Developers build GTK+ 2 applications against headers such as gtk/gtk.h and pkg-config metadata such as gtk+-2.0. The toolkit supplies windows, buttons, text views, tree views, menus, dialogs, input handling, theming, accessibility integration, and GDK backends for display systems.
The Homebrew gtk+ package exposes GTK+ 2 utilities such as gtk-demo, gtk-builder-convert, gtk-query-immodules-2.0, and gtk2-update-icon-cache. That makes the formula useful both for building older applications and for keeping their auxiliary tooling available.
GTK+ 2 is package-manager archaeology in productive form. Its ABI is old enough that modern desktops may not use it for new work, but many source builds, ports, plugins, and legacy applications still ask for gtk+-2.0 explicitly.
Packagers care about GTK+ 2 because it pulls a historical GNOME stack with GLib, Pango, GDK-Pixbuf, ATK, Cairo, icon caches, input modules, and theme engines. A missing gtk+ formula can be the difference between a legacy GUI package building cleanly and a dependency hunt through old desktop infrastructure.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gtk-builder-convert | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gtk-demo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gtk-query-immodules-2.0 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
gtk2-update-icon-cache | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gtk+ |
|---|---|
| 版本 | 2.24.33 |
| 软件包管理器 | Homebrew |
| 主页 | https://gtk.org/ |
| 最后更新 | 2026-08-02T20:52:09+09:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gtk+ 1.2.10-113.fc45
The GIMP ToolKit
sudo dnf install gtk+gtk+-devel 1.2.10-113.fc45
Development tools for GTK+ (GIMP ToolKit) applications
sudo dnf install gtk+-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.