# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 gspell

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

## 安装

```sh
sudo av install brew:gspell
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gspell
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gspell
```

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

### Linux

- apk (92%):

```sh
sudo apk add gspell
```

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

- dnf (92%):

```sh
sudo dnf install gspell
```

  证据: Fedora Rawhide package metadata: gspell from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#gspell
```

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

- pacman (92%):

```sh
sudo pacman -S gspell
```

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

- zypper (92%):

```sh
sudo zypper install gspell
```

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

- Debian apt (92%):

```sh
sudo apt install gir1.2-gspell-1
```

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

## 软件包事实

- **软件包键:** brew:gspell
- **软件包管理器:** Homebrew
- **版本:** 1.14.4
- **来源摘要:** Flexible API to implement spellchecking in GTK+ applications
- **主页:** <https://gitlab.gnome.org/GNOME/gspell>
- **最后更新:** 2026-06-26T20:32:27Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gspell-app1 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gspell is a GNOME spell-checking library for GTK applications. It provides a GObject-based API, inline spell checking for GtkEntry and GtkTextView, a GtkTextView spell-check dialog, language choosers, and support for the no-spell-check tag used by GtkSourceView and libgedit-gtksourceview.

### 项目历史

The first gspell release was 0.1.0 on 2015-09-30. Its NEWS file says that the code came from the gedit spell plugin rather than being written from scratch.

The project quickly moved toward library polish: 0.1.2 created a GNOME Bugzilla product and online API reference naming, 0.2.2 relicensed the code from GPLv2+ to LGPLv2.1+, and 1.0.0 on 2016-03-20 declared the API stable with backward-compatible 1.x stable versions.

Later releases followed GNOME's even/odd minor-version scheme. The 1.5 development cycle added gspell-app1 and documented no-spell-check tag support; 1.7 adopted Enchant 2; 1.8.1 recorded the move to GNOME GitLab; and the 1.13 development cycle removed Autotools and added Meson.

### 采用历史

gspell's adoption is tied to GTK 3 application development and GNOME text editing components. The README explicitly says the 1.x versions target GTK 3, and the API is designed for applications that want spelling support without embedding a full editor.

For packagers, the project's own notes recommend hunspell over aspell on GNU/Linux because Enchant prefers hunspell and aspell does not work well with gspell. That makes dictionary packaging part of the practical gspell story.

### 使用方式

Application developers use gspell to add spell-checking widgets and behavior to GTK interfaces. It wraps lower-level spelling services through Enchant and exposes GTK-friendly components such as checkers, language choosers, and inline checking for text widgets.

The small gspell-app1 program, introduced during the 1.5 development cycle, gives packagers and developers a convenient command to exercise the library.

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

gspell is interesting because it extracted spell-checking behavior from an application plugin into a reusable GNOME library. That is exactly the kind of small desktop-stack component distributions package so multiple apps can share one implementation.

Its dependency notes matter in packaging practice: GLib, GTK 3, Enchant, ICU, hunspell dictionaries, GIR packages, and GTK documentation all affect whether downstream applications get spell-checking that works cleanly.

### 时间线

- 2015: First 0.1.0 release, based on code from the gedit spell plugin.
- 2015: 0.2.2 relicensed gspell from GPLv2+ to LGPLv2.1+.
- 2016: 1.0.0 declared the API stable for the 1.x line.
- 2017: 1.5.2 added gspell-app, later renamed gspell-app1.
- 2017: 1.7.1 switched to Enchant 2.
- 2018: 1.8.1 recorded the move to GNOME GitLab.
- 2024: 1.13.1 added Meson and removed Autotools.

### Related projects

- gedit is the source lineage for the first gspell code.
- GtkSpell is named by the README as the basis for an enhanced GtkTextView inline spell checker.
- GtkSourceView and libgedit-gtksourceview are related through the no-spell-check tag support.
- Enchant, hunspell, and ICU are practical spelling and language dependencies.

### 来源

- <https://github.com/GNOME/gspell>
- <https://gitlab.gnome.org/GNOME/gspell>
- <https://raw.githubusercontent.com/GNOME/gspell/master/NEWS>
- <https://raw.githubusercontent.com/GNOME/gspell/master/README.md>
- <https://raw.githubusercontent.com/GNOME/gspell/master/docs/more-information.md>
- <https://raw.githubusercontent.com/GNOME/gspell/master/gspell.doap>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - gir1.2-gspell-1 - 1.14.0-2+b1: normalized package name match | Debian stable package indexes: gir1.2-gspell-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell-checking library for GTK+ applications - GObject introspection | https://gitlab.gnome.org/GNOME/gspell
- Debian apt - gspell-1-tests - 1.14.0-2+b1: normalized package name match | Debian stable package indexes: gspell-1-tests from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell-checking library for GTK+ applications - installed tests | https://gitlab.gnome.org/GNOME/gspell
- Debian apt - libgspell-1-3 - 1.14.0-2+b1: normalized package name match | Debian stable package indexes: libgspell-1-3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell-checking library for GTK+ applications | https://gitlab.gnome.org/GNOME/gspell
- Debian apt - libgspell-1-common - 1.14.0-2: normalized package name match | Debian stable package indexes: libgspell-1-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libgspell architecture-independent files | https://gitlab.gnome.org/GNOME/gspell
- Debian apt - libgspell-1-dev - 1.14.0-2+b1: normalized package name match | Debian stable package indexes: libgspell-1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell-checking library for GTK+ applications - development files | https://gitlab.gnome.org/GNOME/gspell
- Debian apt - libgspell-1-doc - 1.14.0-2: normalized package name match | Debian stable package indexes: libgspell-1-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | spell-checking library for GTK+ applications - documentation | https://gitlab.gnome.org/GNOME/gspell
- Nix - gspell: normalized package name match | nixpkgs package indexes: pkgs/by-name/gs/gspell/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-gspell-1 - 1.12.2-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-gspell-1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | spell-checking library for GTK+ applications - GObject introspection | https://gitlab.gnome.org/GNOME/gspell
- Ubuntu apt - gspell-1-tests - 1.12.2-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: gspell-1-tests from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | spell-checking library for GTK+ applications - installed tests | https://gitlab.gnome.org/GNOME/gspell
- Ubuntu apt - libgspell-1-2 - 1.12.2-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libgspell-1-2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | spell-checking library for GTK+ applications | https://gitlab.gnome.org/GNOME/gspell
- Ubuntu apt - libgspell-1-common - 1.12.2-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libgspell-1-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libgspell architecture-independent files | https://gitlab.gnome.org/GNOME/gspell
- Ubuntu apt - libgspell-1-dev - 1.12.2-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libgspell-1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | spell-checking library for GTK+ applications - development files | https://gitlab.gnome.org/GNOME/gspell
- Ubuntu apt - libgspell-1-doc - 1.12.2-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libgspell-1-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | spell-checking library for GTK+ applications - documentation | https://gitlab.gnome.org/GNOME/gspell
- apk - gspell - 1.14.4-r0: normalized package name match | Alpine Linux edge package indexes: gspell from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flexible API to add spell checking to a GTK+ application | https://gitlab.gnome.org/GNOME/gspell
- apk - gspell-dbg - 1.14.4-r0: normalized package name match | Alpine Linux edge package indexes: gspell-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flexible API to add spell checking to a GTK+ application (debug symbols) | https://gitlab.gnome.org/GNOME/gspell
- apk - gspell-dev - 1.14.4-r0: normalized package name match | Alpine Linux edge package indexes: gspell-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flexible API to add spell checking to a GTK+ application (development files) | https://gitlab.gnome.org/GNOME/gspell


## Combined YAML source

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