# 使用 Homebrew, apk, Nix, apt, zypper 安装 gdk-pixbuf

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

## 安装

```sh
sudo av install brew:gdk-pixbuf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gdk-pixbuf
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gdk-pixbuf
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gdk-pixbuf
```

  证据: nixpkgs package indexes: pkgs/by-name/gd/gdk-pixbuf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install gdk-pixbuf-tests
```

  证据: Debian stable package indexes: gdk-pixbuf-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install gdk-pixbuf-devel
```

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

## 软件包事实

- **软件包键:** brew:gdk-pixbuf
- **软件包管理器:** Homebrew
- **版本:** 2.44.7
- **来源摘要:** Toolkit for image loading and pixel buffer manipulation
- **主页:** <https://gtk.org>
- **最后更新:** 2026-06-28T04:59:43Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gdk-pixbuf-csource (别名)
- gdk-pixbuf-pixdata (别名)
- gdk-pixbuf-query-loaders (别名)
- gdk-pixbuf-thumbnailer (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gdk-pixbuf is the GNOME/GTK image-loading library for loading image data into pixel buffers that can be scaled, composited, modified, saved, or rendered.

### 项目历史

The official API reference describes GdkPixbuf 2.0 as an image loading library authored by the GTK Development Team, with source hosted in GNOME GitLab.

The upstream README says gdk-pixbuf loads image data in formats such as PNG, JPEG, TIFF, TGA, and GIF, stores it as linear buffers in memory, and allows additional loader modules in well-known locations.

### 采用历史

The README states that GTK uses gdk-pixbuf for loading graphical assets, which made it part of the common GNOME and GTK runtime stack.

The current README also warns that gdk-pixbuf should be used for trusted UI assets rather than arbitrary images and points users toward Glycin for sandboxed image loading.

### 使用方式

Developers use the library through the gdk-pixbuf/gdk-pixbuf.h C headers and the gdk-pixbuf-2.0 pkg-config file; package users also get CLI tools such as gdk-pixbuf-query-loaders and gdk-pixbuf-thumbnailer.

Recent NEWS entries show a shift toward Glycin integration, optional thumbnailing, and deprecation of some older animation and XPM-related APIs.

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

gdk-pixbuf is package-nerd significant because it is a small-looking library that affects desktop image loading, GTK applications, thumbnailing, loader cache generation, optional codecs, and security posture around image parsers.

Its loader-module model means packagers care about post-install loader queries, installed module locations, and which image formats are enabled.

### 时间线

- GdkPixbuf 2.0: The current API namespace is documented as the 2.0 image loading library.
- 2025: Development NEWS entries add a Glycin loader and recommend relying on Glycin for sandboxed Linux image loading.
- 2026: The API reference reports library version 2.44.6, while NEWS includes 2.44.7 changes.

### Related projects

- gdk-pixbuf is closely related to GTK, GLib/GObject, GNOME, and the Glycin sandboxed image-loading framework.
- It also intersects with image codec libraries such as libpng, libjpeg, and libtiff, which the README lists as optional build requirements depending on enabled format support.

### 来源

- <https://docs.gtk.org/gdk-pixbuf/>
- <https://gitlab.gnome.org/GNOME/gdk-pixbuf>
- <https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/raw/master/NEWS>
- <https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/raw/master/README.md>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - gdk-pixbuf-tests - 2.42.12+dfsg-4+deb13u1: normalized package name match | Debian stable package indexes: gdk-pixbuf-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | installed tests for the GDK Pixbuf library | https://www.gtk.org/
- Debian apt - gir1.2-gdkpixbuf-2.0 - 2.42.12+dfsg-4+deb13u1: normalized package name match | Debian stable package indexes: gir1.2-gdkpixbuf-2.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GDK Pixbuf library - GObject-Introspection | https://www.gtk.org/
- Debian apt - libgdk-pixbuf-2.0-0 - 2.42.12+dfsg-4+deb13u1: normalized package name match | Debian stable package indexes: libgdk-pixbuf-2.0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GDK Pixbuf library | https://www.gtk.org/
- Debian apt - libgdk-pixbuf-2.0-dev - 2.42.12+dfsg-4+deb13u1: normalized package name match | Debian stable package indexes: libgdk-pixbuf-2.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GDK Pixbuf library (development files) | https://www.gtk.org/
- Debian apt - libgdk-pixbuf2.0-bin - 2.42.12+dfsg-4+deb13u1: normalized package name match | Debian stable package indexes: libgdk-pixbuf2.0-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GDK Pixbuf library (thumbnailer) | https://www.gtk.org/
- Debian apt - libgdk-pixbuf2.0-common - 2.42.12+dfsg-4+deb13u1: normalized package name match | Debian stable package indexes: libgdk-pixbuf2.0-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GDK Pixbuf library - data files | https://www.gtk.org/
- Debian apt - libgdk-pixbuf2.0-doc - 2.42.12+dfsg-4+deb13u1: normalized package name match | Debian stable package indexes: libgdk-pixbuf2.0-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GDK Pixbuf library (documentation) | https://www.gtk.org/
- Nix - gdk-pixbuf: normalized package name match | nixpkgs package indexes: pkgs/by-name/gd/gdk-pixbuf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gdk-pixbuf-tests - 2.42.10+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gdk-pixbuf-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | installed tests for the GDK Pixbuf library | https://www.gtk.org/
- Ubuntu apt - gir1.2-gdkpixbuf-2.0 - 2.42.10+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-gdkpixbuf-2.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GDK Pixbuf library - GObject-Introspection | https://www.gtk.org/
- Ubuntu apt - libgdk-pixbuf-2.0-0 - 2.42.10+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdk-pixbuf-2.0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GDK Pixbuf library | https://www.gtk.org/
- Ubuntu apt - libgdk-pixbuf-2.0-dev - 2.42.10+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdk-pixbuf-2.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GDK Pixbuf library (development files) | https://www.gtk.org/
- Ubuntu apt - libgdk-pixbuf2.0-bin - 2.42.10+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdk-pixbuf2.0-bin from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GDK Pixbuf library (thumbnailer) | https://www.gtk.org/
- Ubuntu apt - libgdk-pixbuf2.0-common - 2.42.10+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdk-pixbuf2.0-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GDK Pixbuf library - data files | https://www.gtk.org/
- Ubuntu apt - libgdk-pixbuf2.0-doc - 2.42.10+dfsg-3ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libgdk-pixbuf2.0-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | GDK Pixbuf library (documentation) | https://www.gtk.org/
- apk - gdk-pixbuf - 2.44.7-r1: normalized package name match | Alpine Linux edge package indexes: gdk-pixbuf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | GTK+ image loading library | https://gitlab.gnome.org/GNOME/gdk-pixbuf


## Combined YAML source

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