pkg.soopen package index

brew / rank 1580

Install gtk+ with Homebrew, dnf

GUI toolkit. Version 2.24.33 via Homebrew; verified 2026-08-02. Also installable with dnf: sudo dnf install gtk+.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gtk+

local Homebrew formula metadata

overview

Package summary

GUI toolkit

Commands and aliases

  • gtk-builder-convert
  • gtk-demo
  • gtk-query-immodules-2.0
  • gtk2-update-icon-cache

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1997: GTK project copyright period begins on the official GTK site.
  • 2002: GTK+ 2.0.0 tarballs appeared in the GNOME source archive.
  • 2011: GTK+ 2.24.0 was tagged.
  • 2020: GTK+ 2.24.33 tarballs appeared in the GNOME source archive.

Related projects

  • GLib provides fundamental data types and system integration; GObject supplies the object system; GDK handles windowing; Pango handles text; Cairo handles drawing; GdkPixbuf handles images; ATK supplies accessibility interfaces.
  • GTK+ 3 and GTK 4 are later GTK API generations. GTK-Doc documented large parts of the GTK/GNOME C API ecosystem, including GTK symbols, GObject signals, and properties.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gtk-builder-convertexecutableindexed executableDiscovered from the local executable index.
gtk-demoexecutableindexed executableDiscovered from the local executable index.
gtk-query-immodules-2.0executableindexed executableDiscovered from the local executable index.
gtk2-update-icon-cacheexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version2.24.33
manager updated2026-08-02
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gtk+
Version2.24.33
Package managerHomebrew
Homepagehttps://gtk.org/
Last updated2026-08-02T20:52:09+09:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

dnf95%

gtk+ 1.2.10-113.fc45

The GIMP ToolKit

http://www.gtk.org/

sudo dnf install gtk+
  • License: LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gtk+
  • 8 dependencies
  • 5 provides
  • normalized package name match
  • Matched by: Gtk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gtk+ from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

gtk+-devel 1.2.10-113.fc45

Development tools for GTK+ (GIMP ToolKit) applications

http://www.gtk.org/

sudo dnf install gtk+-devel
  • License: LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: gtk+
  • 11 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Gtk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gtk+-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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