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

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

## 安装

```sh
sudo av install brew:sword
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sword
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sword
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install diatheke
```

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

- dnf (92%):

```sh
sudo dnf install perl-sword
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#sword
```

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

- pacman (92%):

```sh
sudo pacman -S sword
```

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

- zypper (92%):

```sh
sudo zypper install libsword-1_9_0
```

  证据: openSUSE Tumbleweed package metadata: libsword-1_9_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:sword
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sword>
- **版本:** 1.9.0
- **来源摘要:** Cross-platform tools to write Bible software
- **主页:** <https://www.crosswire.org/sword/index.jsp>
- **仓库:** <https://github.com/crosswire/sword>
- **上游文档:** <https://wiki.crosswire.org/Main_Page>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://www.crosswire.org/ftpmirror/pub/sword/source/v1.9/sword-1.9.0.tar.gz>
- **最后更新:** 2026-06-19T12:33:03-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- diatheke (cli)
- emptyvss (cli)
- imp2gbs (cli)
- imp2ld (cli)
- imp2vs (cli)
- installmgr (cli)
- mkfastmod (cli)
- mod2imp (cli)
- mod2osis (cli)
- mod2vpl (cli)
- mod2zmod (cli)
- osis2mod (cli)
- tei2mod (cli)
- vpl2mod (cli)
- vs2osisref (cli)
- vs2osisreftxt (cli)
- xml2gbs (cli)
- diatheke (别名)
- emptyvss (别名)
- imp2gbs (别名)
- imp2ld (别名)
- imp2vs (别名)
- installmgr (别名)
- mkfastmod (别名)
- mod2imp (别名)
- mod2osis (别名)
- mod2vpl (别名)
- mod2zmod (别名)
- osis2mod (别名)
- tei2mod (别名)
- vpl2mod (别名)
- vs2osisref (别名)
- vs2osisreftxt (别名)
- xml2gbs (别名)

## 安装行为

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

## 版本和新鲜度

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

SWORD is CrossWire Bible Society's open-source Bible software engine and command-line/module toolchain. In package-manager terms it is both a library package and a collection of utilities, including diatheke, installmgr, osis2mod, mod2osis, and other import/export tools used to build and manage SWORD modules.

### 项目历史

CrossWire describes SWORD as a free Bible software project whose purpose is to create cross-platform open-source tools that allow programmers and Bible societies to write Bible software more quickly. The developer page calls the SWORD Engine a software framework for research manipulation of Biblical texts and points developers to source checkout, compile, install, and module download workflows.

### 采用历史

SWORD is used as a back-end engine for multiple front-end Bible applications listed by CrossWire, including BibleTime, Xiphos, PocketSword, The Bible Tool, Eloquent, and Ezra Bible App. The input package facts show distribution across Homebrew, Debian/Ubuntu via diatheke, Fedora, MacPorts, Nix, Arch, and openSUSE package names.

### 使用方式

Developers and module maintainers use the engine and utilities to create, convert, install, inspect, and serve Bible text modules. CrossWire's developer quick start documents checking out source, building the engine, installing configuration, and placing downloaded modules under a SWORD module directory.

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

Package nerds care because SWORD is a long-lived example of a domain-specific content engine exposed through Unix-style tools and packaged under several ecosystem names. The Homebrew formula pulls in a set of command-line converters and install tools that are useful even when the end-user front ends ship their own copy of the engine.

### 时间线

- 2020: CrossWire's developer page lists SWORD Engine/API v1.9.0 as the current release dated November 4, 2020.
- 2023: CrossWire's developer wiki main page was last modified on August 11, 2023 and lists SWORD back-end tools, module development, and front-end applications.
- 2026: CrossWire's SWORD home page continues to show current project news, module downloads, and active front-end releases.

### Related projects

- Related SWORD front ends include BibleTime, Xiphos, PocketSword, The Bible Tool, Eloquent, Ezra Bible App, and The SWORD Project for Windows. Related standards and tools include OSIS, ThML, GBF, JSword, installmgr, and the CrossWire module repositories.

### 来源

- <https://github.com/crosswire/sword>
- <https://wiki.crosswire.org/Main_Page>
- <https://wiki.crosswire.org/Official_and_Affiliated_Module_Repositories>
- <https://www.crosswire.org/sword/develop/index.jsp>
- <https://www.crosswire.org/sword/index.jsp>
- source_facts.executables
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./sword.conf, ~/.sword/sword.conf, /etc/sword.conf, ./mods.d, $SWORD_PATH/mods.d, ~/.sword/mods.d/
## 源数据库详情

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

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

- Debian apt - diatheke - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: diatheke from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line bible browsing and search tool | https://www.crosswire.org/sword/
- Debian apt - libsword-common - 1.9.0+dfsg-7: normalized package name match | Debian stable package indexes: libsword-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | common settings and module repository for libsword | https://www.crosswire.org/sword/
- Debian apt - libsword-dev - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: libsword-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for libsword | https://www.crosswire.org/sword/
- Debian apt - libsword-utils - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: libsword-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | conversion utilities for bible documents in SWORD supported formats | https://www.crosswire.org/sword/
- Debian apt - libsword1.9.0t64 - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: libsword1.9.0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | API/library for bible software | https://www.crosswire.org/sword/
- Debian apt - python3-sword - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: python3-sword from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 3 bindings for the SWORD bible library | https://www.crosswire.org/sword/
- Nix - sword: normalized package name match | nixpkgs package indexes: pkgs/by-name/sw/sword/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - diatheke - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: diatheke from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line bible browsing and search tool | https://www.crosswire.org/sword/
- Ubuntu apt - libsword-common - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | common settings and module repository for libsword | https://www.crosswire.org/sword/
- Ubuntu apt - libsword-dev - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for libsword | https://www.crosswire.org/sword/
- Ubuntu apt - libsword-utils - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | conversion utilities for bible documents in SWORD supported formats | https://www.crosswire.org/sword/
- Ubuntu apt - libsword1.9.0t64 - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword1.9.0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | API/library for bible software | https://www.crosswire.org/sword/
- Ubuntu apt - python3-sword - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-sword from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python 3 bindings for the SWORD bible library | https://www.crosswire.org/sword/
- dnf - perl-sword - 1.9.0-41.fc45: normalized package name match | Fedora Rawhide package metadata: perl-sword from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Perl bindings for Sword | http://www.crosswire.org/sword/
- dnf - python3-sword - 1.9.0-41.fc45: normalized package name match | Fedora Rawhide package metadata: python3-sword from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Python bindings for Sword | http://www.crosswire.org/sword/
- dnf - sword - 1.9.0-41.fc45: normalized package name match | Fedora Rawhide package metadata: sword from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Free Bible Software Project | http://www.crosswire.org/sword/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [ada-url](https://www.automicvault.com/zh-hans/pkg/brew/ada-url/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [cgal](https://www.automicvault.com/zh-hans/pkg/brew/cgal/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [ctemplate](https://www.automicvault.com/zh-hans/pkg/brew/ctemplate/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [curlpp](https://www.automicvault.com/zh-hans/pkg/brew/curlpp/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [flickcurl](https://www.automicvault.com/zh-hans/pkg/brew/flickcurl/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [fonttools](https://www.automicvault.com/zh-hans/pkg/brew/fonttools/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [glib](https://www.automicvault.com/zh-hans/pkg/brew/glib/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [gplugin](https://www.automicvault.com/zh-hans/pkg/brew/gplugin/) - Shares av.db curated category or tags: cli, developer-tools, libraries, library.
- [poco](https://www.automicvault.com/zh-hans/pkg/brew/poco/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, developer, developer-tools.
- [flatbuffers](https://www.automicvault.com/zh-hans/pkg/brew/flatbuffers/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, developer, developer-tools.
- [premake](https://www.automicvault.com/zh-hans/pkg/brew/premake/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/sword.yml](https://github.com/automic-vault/db/blob/main/combined/sword.yml)


## 来源

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