macOS
brew install enchantlocal Homebrew formula metadata
sudo port install enchantMacPorts ports tree · textproc/enchant/Portfile · 来源: api.github.com
安装
brew install enchantlocal Homebrew formula metadata
sudo port install enchantMacPorts ports tree · textproc/enchant/Portfile · 来源: api.github.com
sudo dnf install enchantFedora Rawhide package metadata · enchant · 来源: dl.fedoraproject.org
nix profile install nixpkgs#enchantnixpkgs package indexes · enchant · 来源: raw.githubusercontent.com
sudo pacman -S enchantArch Linux sync databases · enchant · 来源: geo.mirror.pkgbuild.com
sudo zypper install enchant-2-backend-aspellopenSUSE Tumbleweed package metadata · enchant-2-backend-aspell · 来源: download.opensuse.org
sudo apt install enchant-2Debian stable package indexes · enchant-2 · 来源: deb.debian.org
概览
Spellchecker wrapping library
历史
Enchant is a provider-neutral spell-checking library and command-line program. Its purpose is to let applications use Hunspell, Nuspell, Aspell, Hspell, Voikko, AppleSpell, Zemberek, and other providers through one consistent interface.
Enchant began in the AbiWord ecosystem; the project homepage credits Dom Lachowicz and says older versions remain available from the AbiSource website. The NEWS file shows a long 1.x history, including 1.6.0 in 2010, followed by 2.0.0 in 2017.
In 2025, release 2.8.3 marked Enchant's move from the defunct AbiWord project to direct maintenance by Reuben Thomas. The same release also rewrote the two command-line utilities in Vala and noted that Enchant's core had moved to Vala while providers remained a mix of C, C++, and Objective-C++.
Enchant became valuable because desktop and editor software need spell checking without hard-coding one spelling engine. The project homepage lists GNU Emacs as of version 27.1, AbiWord, LyX, and Gtk/GNOME applications through gspell and GtkSpell as users.
The backend list also explains why distributions package it carefully: language-specific and platform-specific spell checkers can coexist behind one API, so a package manager can wire applications to available dictionaries and providers without each application growing its own compatibility layer.
Application developers link against libenchant through C or C++ bindings, while users and scripts can call `enchant-2` for Ispell-compatible non-interactive spell checking. `enchant-lsmod-2` reports available providers and dictionaries.
Configuration is documented through the `enchant(5)` man page, which controls provider selection by language and personal word lists. That makes Enchant both a developer library and a small user-facing CLI package.
Enchant is package-nerd glue: it does not win by having the best dictionary itself, but by keeping spell-checking consumers decoupled from provider churn. It is the kind of library that makes desktop text stacks less brittle across Linux, BSD, macOS, and language-specific dictionary packages.
Its current NEWS also shows the maintenance burden typical of ecosystem glue packages: recent releases fix provider crashes, command-line compatibility, personal word list behavior, relocatability, and editor-facing quirks rather than flashy features.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
enchant-2 | cli | 全局可执行文件 | |
enchant-lsmod-2 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rrthomas/enchant
安装元数据
| 软件包键 | brew:enchant |
|---|---|
| 版本 | 2.8.19 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/enchant |
| 主页 | https://rrthomas.github.io/enchant/ |
| 仓库 | https://github.com/rrthomas/enchant |
| 上游文档 | https://github.com/rrthomas/enchant#readme |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://github.com/rrthomas/enchant/releases/download/v2.8.19/enchant-2.8.19.tar.gz |
| 最后更新 | 2026-07-07T12:53:27Z |
| Pulse | updated |
| 依赖 | aspell, gettext, glib |
| 构建依赖 | groff, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | enchant |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
enchant
nix profile install nixpkgs#enchantenchant 1.6.0-41.fc44
An Enchanting Spell Checking Library
sudo dnf install enchantenchant-devel 1.6.0-41.fc44
Support files necessary to compile applications with libenchant.
sudo dnf install enchant-develenchant-voikko 1.6.0-41.fc44
Integration with voikko for libenchant
sudo dnf install enchant-voikkoenchant 2.8.15-2
A wrapper library for generic spell checking
https://rrthomas.github.io/enchant/
sudo pacman -S enchantenchant-2-backend-aspell 2.8.15-1.2
Aspell backend for the Enchant spell checking library
https://rrthomas.github.io/enchant/
sudo zypper install enchant-2-backend-aspellenchant-2-backend-hunspell 2.8.15-1.2
Hunspell backend for the Enchant spell checking library
https://rrthomas.github.io/enchant/
sudo zypper install enchant-2-backend-hunspellenchant-2-backend-nuspell 2.8.15-1.2
Nuspell backend for the Enchant spell checking library
https://rrthomas.github.io/enchant/
sudo zypper install enchant-2-backend-nuspellenchant-2-backend-voikko 2.8.15-1.2
Voikko backend for the Enchant spell checking library
https://rrthomas.github.io/enchant/
sudo zypper install enchant-2-backend-voikkoenchant-2-backend-voikko-32bit 2.8.15-1.2
Voikko backend for the Enchant spell checking library
https://rrthomas.github.io/enchant/
sudo zypper install enchant-2-backend-voikko-32bitenchant-data 2.8.15-1.2
Data files for libenchant
https://rrthomas.github.io/enchant/
sudo zypper install enchant-dataenchant-devel 2.8.15-1.2
Development files for the Enchant spell checking library
https://rrthomas.github.io/enchant/
sudo zypper install enchant-develenchant-tools 2.8.15-1.2
Command line tools for the Enchant spell checking library
https://rrthomas.github.io/enchant/
sudo zypper install enchant-toolslibenchant-2-2 2.8.15-1.2
Generic Spell Checking Library
https://rrthomas.github.io/enchant/
sudo zypper install libenchant-2-2libenchant-2-2-32bit 2.8.15-1.2
Generic Spell Checking Library
https://rrthomas.github.io/enchant/
sudo zypper install libenchant-2-2-32bitlibenchant1 1.6.1-8.6
Generic Spell Checking Library
https://abiword.github.io/enchant/
sudo zypper install libenchant1来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.