Automic VaultAutomic Vault

brew

gtk4 を Homebrew, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

gtk4 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install gtk4

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install gtk4

MacPorts ports tree · gnome/gtk4/Portfile · ソース: api.github.com

Linux

Fedora dnf確認済み · 92%
sudo dnf install gtk4

Fedora Rawhide package metadata · gtk4 · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#gtk4

nixpkgs package indexes · pkgs/by-name/gt/gtk4/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S gtk4

Arch Linux sync databases · gtk4 · ソース: geo.mirror.pkgbuild.com

Debian apt確認済み · 92%
sudo apt install gir1.2-gtk-4.0

Debian stable package indexes · gir1.2-gtk-4.0 · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install gettext-its-gtk4

openSUSE Tumbleweed package metadata · gettext-its-gtk4 · ソース: download.opensuse.org

概要

パッケージ概要

Toolkit for creating graphical user interfaces

コマンドとエイリアス

  • gtk4-builder-tool
  • gtk4-demo
  • gtk4-demo-application
  • gtk4-encode-symbolic-svg
  • gtk4-icon-editor
  • gtk4-image-tool
  • gtk4-launch
  • gtk4-node-editor
  • gtk4-path-tool
  • gtk4-print-editor
  • gtk4-query-settings
  • gtk4-rendernode-tool
  • gtk4-update-icon-cache
  • gtk4-widget-factory

履歴

プロジェクトの歴史と使われ方

GTK is the GNOME-maintained, LGPL-licensed widget toolkit for graphical applications. The Homebrew gtk4 package represents the GTK 4 API and tool track: development headers, libraries, demos, builder tools, icon tools, inspectors, and utility programs used by applications and language bindings that target GTK 4.

プロジェクトの歴史

The GTK project site describes GTK as a free and open-source cross-platform widget toolkit maintained by GNOME and contributors, built on GLib, and suitable for applications ranging from small tools to application suites. The site also identifies GTK as hosted by GNOME and maintained by the GTK Team, with project copyright dating from 1997.

GTK's major-version history is visible through GNOME source tarballs and upstream migration documentation. GTK 2.0 source tarballs are published from March 2002; GTK 3.0 source tarballs are published from February 2011; and GTK 4.0 tarballs are published from December 2020. The GTK 4 migration guide explicitly treats GTK 4 as a new major version that breaks API and ABI compared with GTK 3.x, and recommends preparing applications from the final stable GTK 3.24 series.

GTK 4 development began as a multi-year effort around the 3.89.1 development release in November 2016. The GTK 4.0 release announcement says the 4.0 result came after more than 18,000 commits and more than 20 development releases, with major themes including render nodes, event controllers, layout managers, media playback, scalable lists, shaders, data transfers, and accessibility.

The gtk4 package role should be read as a version-track role, not a separate unrelated project. It packages the GTK 4 generation of the same toolkit lineage, alongside language bindings and applications that choose the GTK 4 API. The package's executables such as gtk4-demo, gtk4-widget-factory, gtk4-builder-tool, gtk4-launch, and gtk4-query-settings are developer and diagnostic tools around the library.

採用の歴史

GTK's adoption is tied to GNOME but not limited to it. The GTK project site describes GTK as the core of the GNOME development platform and also suitable for other Linux environments plus Windows and macOS targets. Its homepage lists applications built with GTK such as GIMP, Inkscape, Evolution, Web, Calculator, Maps, Transmission, and others.

GTK 4 adoption started as a porting path for applications and platform libraries after the 4.0 release. The GTK 4.0 announcement called out GNOME 40 applications and adjacent libraries such as vte, WebKitGTK, and GtkSourceView as parts of the ecosystem that needed GTK 4 ports.

使われ方

Developers use GTK 4 by linking against the Gtk 4.0 API, using the official API reference and getting-started guides, and optionally using language bindings for C, JavaScript, Perl, Python, Rust, Vala, C++, and other languages. GTK applications are event-driven widget hierarchies, often assembled through code or GtkBuilder UI descriptions.

Packagers and developers use gtk4 command-line tools for demos, widget inspection, resource and UI conversion, icon cache updates, builder-file validation, launching applications, print testing, settings queries, render-node inspection, and visual experiments. Those tools make gtk4 a developer-platform package even when a desktop user sees it only as an application dependency.

パッケージ好きにとっての重要性

gtk4 is one of the packages that defines a desktop stack. Its ABI, introspection metadata, demos, schemas, icons, input modules, themes, and build flags influence a large set of reverse dependencies, especially in GNOME and GTK language-binding ecosystems.

The package is also a marker of a major toolkit transition. GTK 4 changes rendering and input architecture compared with GTK 3, removes long-deprecated APIs, and requires applications and related libraries to make deliberate porting decisions. For package maintainers, it sits at the intersection of C ABI stability, GObject Introspection, Meson builds, platform backends, accessibility, and downstream application migration.

タイムライン

  • 1997: The GTK project site copyright range begins, reflecting the early GTK project era.
  • 2002-03-08: GNOME publishes GTK+ 2.0.0 source tarballs.
  • 2011-02-10: GNOME publishes GTK+ 3.0.0 source tarballs.
  • 2016-11: The GTK 4.0 announcement identifies 3.89.1 as the development point after which the GTK 4 effort added more than 18,000 commits.
  • 2020-12-16: GTK 4.0 is released and source tarballs are published.
  • 2021-03: GNOME 40 is identified in the GTK 4.0 announcement as an early adoption target for GTK 4 applications.
  • 2023-09: GNOME Translation Editor 45.1 records a GTK 4 and libadwaita migration, one example of downstream GTK 4 application porting.

Related projects

  • GLib is the foundational utility and object-system library below GTK.
  • GObject Introspection and language bindings allow GTK APIs to be used from several languages.
  • GNOME is the primary desktop platform around GTK.
  • vte, WebKitGTK, GtkSourceView, libadwaita, GIMP, Inkscape, Evolution, and GNOME applications are important ecosystem consumers or related libraries.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:image

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 15 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 9 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
gtk4-builder-toolcliグローバル実行可能ファイル
gtk4-democliグローバル実行可能ファイル
gtk4-demo-applicationcliグローバル実行可能ファイル
gtk4-encode-symbolic-svgcliグローバル実行可能ファイル
gtk4-icon-editorcliグローバル実行可能ファイル
gtk4-image-toolcliグローバル実行可能ファイル
gtk4-launchcliグローバル実行可能ファイル
gtk4-node-editorcliグローバル実行可能ファイル
gtk4-path-toolcliグローバル実行可能ファイル
gtk4-print-editorcliグローバル実行可能ファイル
gtk4-query-settingscliグローバル実行可能ファイル
gtk4-rendernode-toolcliグローバル実行可能ファイル
gtk4-update-icon-cachecliグローバル実行可能ファイル
gtk4-widget-factorycliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版4.22.4
マネージャ更新日2026-07-07
ローカルデータOK
上流not checked
検出された最新未検出

https://gtk.org/

  • 情報Release/tag comparison is only available for GitHub repositories.https://gtk.org/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:gtk4
バージョン4.22.4
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/gtk4
ホームページhttps://gtk.org/
リポジトリhttps://gitlab.gnome.org/GNOME/gtk
上流ドキュメントhttps://docs.gtk.org/gtk4
ライセンスLGPL-2.1-or-later
ソースアーカイブhttps://download.gnome.org/sources/gtk/4.22/gtk-4.22.4.tar.xz
最終更新2026-07-07T06:58:43Z
Pulseupdated
依存関係cairo, fontconfig, fribidi, gdk-pixbuf, gettext, glib, graphene, harfbuzz, hicolor-icon-theme, jpeg-turbo, libepoxy, libpng, librsvg, libtiff, pango
ビルド依存関係dart-sass, docbook, docbook-xsl, docutils, gettext, gobject-introspection, meson, ninja, pkgconf
macOS 提供ライブラリcups
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegtk4
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

gir1.2-gtk-4.0 4.18.6+ds-2

GTK graphical user interface library -- gir bindings

https://www.gtk.org/

sudo apt install gir1.2-gtk-4.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: gtk4
  • 9 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-gtk-4.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gtk-4-examples 4.18.6+ds-2

example files for GTK 4

https://www.gtk.org/

sudo apt install gtk-4-examples
  • Section: x11
  • Architecture: amd64
  • Source Package: gtk4
  • 13 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gtk-4-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gtk-4-tests 4.18.6+ds-2

"as-installed" tests for GTK 4

https://www.gtk.org/

sudo apt install gtk-4-tests
  • Section: x11
  • Architecture: amd64
  • Source Package: gtk4
  • 32 依存関係
  • 3 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gtk-4-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gtk-update-icon-cache 4.18.6+ds-2

icon theme caching utility

https://www.gtk.org/

sudo apt install gtk-update-icon-cache
  • Section: misc
  • Architecture: amd64
  • Source Package: gtk4
  • 3 依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gtk-update-icon-cache from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgtk-4-1 4.18.6+ds-2

GTK graphical user interface library

https://www.gtk.org/

sudo apt install libgtk-4-1
  • Section: libs
  • Architecture: amd64
  • Source Package: gtk4
  • 32 依存関係
  • 1 提供
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgtk-4-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgtk-4-bin 4.18.6+ds-2

programs for the GTK graphical user interface library

https://www.gtk.org/

sudo apt install libgtk-4-bin
  • Section: misc
  • Architecture: amd64
  • Source Package: gtk4
  • 32 依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgtk-4-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgtk-4-common 4.18.6+ds-2

common files for the GTK graphical user interface library

https://www.gtk.org/

sudo apt install libgtk-4-common
  • Section: misc
  • Architecture: all
  • Source Package: gtk4
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgtk-4-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgtk-4-dev 4.18.6+ds-2

development files for the GTK library

https://www.gtk.org/

sudo apt install libgtk-4-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gtk4
  • 32 依存関係
  • 5 提供
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgtk-4-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgtk-4-doc 4.18.6+ds-2

documentation for the GTK graphical user interface library

https://www.gtk.org/

sudo apt install libgtk-4-doc
  • Section: doc
  • Architecture: all
  • Source Package: gtk4
  • 3 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgtk-4-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgtk-4-media-gstreamer 4.18.6+ds-2

GStreamer media backend for the GTK graphical user interface library

https://www.gtk.org/

sudo apt install libgtk-4-media-gstreamer
  • Section: x11
  • Architecture: amd64
  • Source Package: gtk4
  • 7 依存関係
  • normalized package name match
  • 一致条件: Gtk4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgtk-4-media-gstreamer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gtk4

nix profile install nixpkgs#gtk4
  • normalized package name match
  • 一致条件: Gtk4
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gt/gtk4/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.2-gtk-4.0 4.14.2+ds-1ubuntu1

GTK graphical user interface library -- gir bindings

https://www.gtk.org/

sudo apt install gir1.2-gtk-4.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: gtk4
  • 9 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Gtk4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-gtk-4.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gtk-4-examples 4.14.2+ds-1ubuntu1

example files for GTK 4

https://www.gtk.org/

sudo apt install gtk-4-examples
  • Section: universe/x11
  • Architecture: amd64
  • Source Package: gtk4
  • 13 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gtk-4-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gtk-4-tests 4.14.2+ds-1ubuntu1

"as-installed" tests for GTK 4

https://www.gtk.org/

sudo apt install gtk-4-tests
  • Section: universe/x11
  • Architecture: amd64
  • Source Package: gtk4
  • 32 依存関係
  • 3 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gtk-4-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgtk-4-1 4.14.2+ds-1ubuntu1

GTK graphical user interface library

https://www.gtk.org/

sudo apt install libgtk-4-1
  • Section: libs
  • Architecture: amd64
  • Source Package: gtk4
  • 32 依存関係
  • 1 提供
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Gtk4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgtk-4-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgtk-4-bin 4.14.2+ds-1ubuntu1

programs for the GTK graphical user interface library

https://www.gtk.org/

sudo apt install libgtk-4-bin
  • Section: misc
  • Architecture: amd64
  • Source Package: gtk4
  • 32 依存関係
  • normalized package name match
  • 一致条件: Gtk4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgtk-4-bin from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment