# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 spice-gtk

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

## 安装

```sh
sudo av install brew:spice-gtk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spice-gtk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install spice-gtk
```

  证据: MacPorts ports tree: gnome/spice-gtk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add spice-gtk
```

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

- dnf (92%):

```sh
sudo dnf install spice-gtk
```

  证据: Fedora Rawhide package metadata: spice-gtk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#spice-gtk
```

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

- pacman (92%):

```sh
sudo pacman -S spice-gtk
```

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

- zypper (92%):

```sh
sudo zypper install spice-gtk
```

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

- Debian apt (92%):

```sh
sudo apt install gir1.2-spiceclientglib-2.0
```

  证据: Debian stable package indexes: gir1.2-spiceclientglib-2.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:spice-gtk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/spice-gtk>
- **版本:** 0.42
- **来源摘要:** GTK client/libraries for SPICE
- **主页:** <https://www.spice-space.org>
- **上游文档:** <https://www.spice-space.org>
- **许可证:** GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause
- **源码归档:** <https://www.spice-space.org/download/gtk/spice-gtk-0.42.tar.xz>
- **最后更新:** 2026-07-13T17:31:47+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- spicy (cli)
- spicy-screenshot (cli)
- spicy-stats (cli)
- spicy (别名)
- spicy-screenshot (别名)
- spicy-stats (别名)

## 依赖

- cairo
- gdk-pixbuf
- gettext
- glib
- gobject-introspection
- gstreamer
- gtk+3
- harfbuzz
- jpeg-turbo
- json-glib
- libepoxy
- libsoup
- libusb
- libx11
- lz4
- openssl@3
- opus
- phodav
- pixman
- spice-protocol
- usbredir

## 构建依赖

- gettext
- gobject-introspection
- meson
- ninja
- pkgconf
- python@3.14
- vala

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.42
- 管理器更新时间: 2026-07-13
- 本地数据: OK
- 上游仓库: https://www.spice-space.org
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

spice-gtk is the GTK client library and widget for SPICE remote desktop sessions. It gives Linux desktop and virtualization tools a reusable client-side component for connecting to SPICE-enabled virtual machines.

### 项目历史

The SPICE project documentation frames SPICE as an open remote computing solution for remote display and device access, with a 2009 Red Hat copyright on the introductory architecture document. The download page describes spice-gtk as a GTK+3 SPICE widget with glib-based protocol objects, a GTK display widget, and Python and Vala bindings.

### 采用历史

spice-gtk became important through virtualization desktops rather than through end-user CLI fame. The official download page names virt-manager and GNOME Boxes as applications that embed the widget, and recommends virt-viewer as the client application for connecting to virtual machines using SPICE.

### 使用方式

Packaged installations commonly expose tools such as spicy, spicy-screenshot, and spicy-stats, while applications can use the library and widget directly. Users encounter it when opening a VM console, testing SPICE display behavior, or integrating SPICE support into a GTK application.

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

Package nerds care about spice-gtk because it sits in the practical dependency chain for desktop virtualization: QEMU/KVM hosts, SPICE protocol components, virt-viewer, virt-manager, GNOME Boxes, USB redirection, and guest tools all meet at package boundaries. Keeping spice-gtk current affects whether graphical VM consoles, clipboard support, and device redirection work cleanly on distro desktops.

### 时间线

- 2009: Red Hat copyright appears on the SPICE introductory documentation.
- 2010s: spice-gtk becomes the GTK client widget used by virtualization tools such as virt-manager and GNOME Boxes.
- 2020s: Official downloads continue to publish spice-gtk source releases from freedesktop.org GitLab.

### Related projects

- SPICE protocol and spice-server provide the remote display protocol and server side.
- virt-viewer is the recommended client application.
- virt-manager and GNOME Boxes embed or use SPICE client functionality.
- QEMU commonly provides the virtualization host side for SPICE sessions.

### 来源

- <https://gitlab.freedesktop.org/spice/spice-gtk>
- <https://www.spice-space.org/download.html>
- <https://www.spice-space.org/spice-for-newbies.html>
- source_facts.package-manager


## 安全说明

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spice-gtk
- **Version Scheme:** 0
- **Revision:** 3
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - gir1.2-spiceclientglib-2.0 - 0.42-3: normalized package name match | Debian stable package indexes: gir1.2-spiceclientglib-2.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject for communicating with Spice servers (GObject-Introspection) | https://www.spice-space.org/
- Debian apt - gir1.2-spiceclientgtk-3.0 - 0.42-3: normalized package name match | Debian stable package indexes: gir1.2-spiceclientgtk-3.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GTK3 widget for SPICE clients (GObject-Introspection) | https://www.spice-space.org/
- Debian apt - libspice-client-glib-2.0-8 - 0.42-3: normalized package name match | Debian stable package indexes: libspice-client-glib-2.0-8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject for communicating with Spice servers (runtime library) | https://www.spice-space.org/
- Debian apt - libspice-client-glib-2.0-dev - 0.42-3: normalized package name match | Debian stable package indexes: libspice-client-glib-2.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject for communicating with Spice servers (development files) | https://www.spice-space.org/
- Debian apt - libspice-client-gtk-3.0-5 - 0.42-3: normalized package name match | Debian stable package indexes: libspice-client-gtk-3.0-5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GTK3 widget for SPICE clients (runtime library) | https://www.spice-space.org/
- Debian apt - libspice-client-gtk-3.0-dev - 0.42-3: normalized package name match | Debian stable package indexes: libspice-client-gtk-3.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GTK3 widget for SPICE clients (development files) | https://www.spice-space.org/
- Debian apt - spice-client-glib-usb-acl-helper - 0.42-3: normalized package name match | Debian stable package indexes: spice-client-glib-usb-acl-helper from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Helper tool to validate usb ACLs | https://www.spice-space.org/
- Debian apt - spice-client-gtk - 0.42-3: normalized package name match | Debian stable package indexes: spice-client-gtk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple clients for interacting with SPICE servers | https://www.spice-space.org/
- Nix - spice-gtk: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spice-gtk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-spiceclientglib-2.0 - 0.42-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-spiceclientglib-2.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject for communicating with Spice servers (GObject-Introspection) | https://www.spice-space.org/
- Ubuntu apt - gir1.2-spiceclientgtk-3.0 - 0.42-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-spiceclientgtk-3.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GTK3 widget for SPICE clients (GObject-Introspection) | https://www.spice-space.org/
- Ubuntu apt - libspice-client-glib-2.0-8 - 0.42-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libspice-client-glib-2.0-8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject for communicating with Spice servers (runtime library) | https://www.spice-space.org/
- Ubuntu apt - libspice-client-glib-2.0-dev - 0.42-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libspice-client-glib-2.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject for communicating with Spice servers (development files) | https://www.spice-space.org/
- Ubuntu apt - libspice-client-gtk-3.0-5 - 0.42-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libspice-client-gtk-3.0-5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GTK3 widget for SPICE clients (runtime library) | https://www.spice-space.org/
- Ubuntu apt - libspice-client-gtk-3.0-dev - 0.42-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libspice-client-gtk-3.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GTK3 widget for SPICE clients (development files) | https://www.spice-space.org/
- Ubuntu apt - spice-client-glib-usb-acl-helper - 0.42-2ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: spice-client-glib-usb-acl-helper from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Helper tool to validate usb ACLs | https://www.spice-space.org/


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [glib](https://pkg.so/zh-hans/brew/glib/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://pkg.so/zh-hans/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/zh-hans/brew/gettext/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Build dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/zh-hans/brew/ninja/) - Build dependency declared by Homebrew.
- [virt-manager](https://pkg.so/zh-hans/brew/virt-manager/) - Popular package that depends on this formula.
- [usbredir](https://pkg.so/zh-hans/brew/usbredir/) - Shares the same upstream homepage.
- [pango](https://pkg.so/zh-hans/brew/pango/) - Shares pkgdb curated category or tags: cli, developer-tools, gtk.
- [libpq](https://pkg.so/zh-hans/brew/libpq/) - Shares pkgdb curated category or tags: cli, client-library, developer-tools.
- [gtk+3](https://pkg.so/zh-hans/brew/gtk-3/) - Shares pkgdb curated category or tags: cli, developer-tools, gtk.
- [gtk4](https://pkg.so/zh-hans/brew/gtk4/) - Shares pkgdb curated category or tags: cli, developer-tools, gtk.
- [vte3](https://pkg.so/zh-hans/brew/vte3/) - Shares pkgdb curated category or tags: cli, developer-tools, gtk.
- [gspell](https://pkg.so/zh-hans/brew/gspell/) - Shares pkgdb curated category or tags: cli, developer-tools, gtk.
- [gtk+](https://pkg.so/zh-hans/brew/gtk/) - Shares pkgdb curated category or tags: cli, developer-tools, gtk.
- [gitg](https://pkg.so/zh-hans/brew/gitg/) - Local metadata places this package in an adjacent workflow. Shared terms: cairo, cli, client, desktop, developer.
- [webkitgtk](https://pkg.so/zh-hans/brew/webkitgtk/) - Local package facts share a topical domain. Shared terms: cairo, cli, developer, developer-tools, gdk.

## Combined YAML source

View the package source record on GitHub. [combined/spice-gtk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spice-gtk.yml)


## 来源

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