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

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

## 安装

```sh
sudo av install brew:sord
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sord
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sord
```

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

### Linux

- apk (92%):

```sh
sudo apk add sord
```

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

- Debian apt (92%):

```sh
sudo apt install libsord-0-0
```

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

- dnf (92%):

```sh
sudo dnf install sord
```

  证据: Fedora Rawhide package metadata: sord 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#sord
```

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

- pacman (92%):

```sh
sudo pacman -S sord
```

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

- zypper (92%):

```sh
sudo zypper install libsord-0-0
```

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

## 软件包事实

- **软件包键:** brew:sord
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sord>
- **版本:** 0.16.22
- **来源摘要:** C library for storing RDF data in memory
- **主页:** <https://drobilla.net/software/sord.html>
- **仓库:** <https://gitlab.com/drobilla/sord>
- **上游文档:** <https://drobilla.net/docs/sord>
- **许可证:** ISC
- **源码归档:** <https://download.drobilla.net/sord-0.16.22.tar.xz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- sord_validate (cli)
- sordi (cli)
- sord_validate (别名)
- sordi (别名)

## 依赖

- pcre2
- serd
- zix

## 构建依赖

- meson
- ninja
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.16.22
- 本地数据: OK
- 上游仓库: https://drobilla.net/software/sord.html
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Sord is a lightweight C library for storing RDF statements in memory. Homebrew packages it with small command-line utilities such as `sordi` and `sord_validate`, but its core identity is as a reusable RDF model library.

### 项目历史

The official README identifies Sord as a David Robillard project and describes it as a lightweight C library for storing RDF statements in memory. The generated API documentation describes the library as an RDF model that stores triples or quads and can search them by indexed patterns.

The GitLab project metadata records the public repository as created in April 2019, while the README carries earlier copyright years. Public releases continued through the 0.16 series, including 0.16.22 in 2026.

### 采用历史

Sord is specialized infrastructure for RDF and Semantic Web tooling, so its adoption is quieter than a developer-facing CLI. The package-manager metadata in this batch nevertheless shows it packaged across Homebrew, Alpine, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, and openSUSE.

That distribution pattern is typical for C libraries that become plumbing: users may install them directly for `sordi` or `sord_validate`, but many encounters happen through dependent RDF or audio/metadata tooling in Unix package graphs.

### 使用方式

Library users create a Sord world and model, add RDF nodes and quads, and search by subject, predicate, object, or graph patterns. The official docs emphasize indexed storage and functions for reading, writing, iterating, and querying models.

CLI users generally use the packaged utilities for RDF conversion or validation tasks, while developers link against the C library for in-memory RDF storage.

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

Sord matters to package nerds because it is small, C-based Semantic Web plumbing: easy to ship, useful to link, and often noticed only when a dependency tree needs RDF support.

Its presence in many Unix package managers also reflects a long-running open-source pattern: narrow C libraries with stable ABIs become shared infrastructure for higher-level tools.

### 时间线

- 2011: README copyright years begin for the Sord project.
- 2019: Public GitLab project created.
- 2021: Sord 0.16.8 released.
- 2026: Sord 0.16.22 released.

### Related projects

- Serd is the adjacent RDF syntax library referenced by Sord's API documentation.
- LV2 and other Drobilla-maintained audio and metadata projects commonly sit near Sord in package dependency graphs.
- RDF, Turtle, and Semantic Web tooling are the broader ecosystem Sord serves.

### 来源

- <https://drobilla.net/docs/sord/>
- <https://gitlab.com/api/v4/projects/drobilla%2Fsord>
- <https://gitlab.com/api/v4/projects/drobilla%2Fsord/releases>
- <https://gitlab.com/drobilla/sord>
- <https://gitlab.com/drobilla/sord/-/raw/main/README.md>
- input.json source_facts.executables
- input.json source_facts.package-manager


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sord
- **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 - libsord-0-0 - 0.16.18-1: normalized package name match | Debian stable package indexes: libsord-0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for storing RDF data in memory | https://drobilla.net/software/sord.html
- Debian apt - libsord-dev - 0.16.18-1: normalized package name match | Debian stable package indexes: libsord-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for storing RDF data in memory (development files) | https://drobilla.net/software/sord.html
- Debian apt - libsord-doc - 0.16.18-1: normalized package name match | Debian stable package indexes: libsord-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for storing RDF data in memory (documentation) | https://drobilla.net/software/sord.html
- Debian apt - sordi - 0.16.18-1: normalized package name match | Debian stable package indexes: sordi from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for storing RDF data in memory - utilities | https://drobilla.net/software/sord.html
- Nix - sord: normalized package name match | nixpkgs package indexes: pkgs/by-name/so/sord/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsord-0-0 - 0.16.16-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsord-0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for storing RDF data in memory | https://drobilla.net/software/sord.html
- Ubuntu apt - libsord-dev - 0.16.16-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsord-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for storing RDF data in memory (development files) | https://drobilla.net/software/sord.html
- Ubuntu apt - libsord-doc - 0.16.16-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsord-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for storing RDF data in memory (documentation) | https://drobilla.net/software/sord.html
- Ubuntu apt - sordi - 0.16.16-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: sordi from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library for storing RDF data in memory - utilities | https://drobilla.net/software/sord.html
- apk - sord - 0.16.22-r0: normalized package name match | Alpine Linux edge package indexes: sord from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C library for storing RDF data in memory | https://drobilla.net/software/sord
- apk - sord-dev - 0.16.22-r0: normalized package name match | Alpine Linux edge package indexes: sord-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C library for storing RDF data in memory (development files) | https://drobilla.net/software/sord
- apk - sord-doc - 0.16.22-r0: normalized package name match | Alpine Linux edge package indexes: sord-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C library for storing RDF data in memory (documentation) | https://drobilla.net/software/sord
- apk - sord-libs - 0.16.22-r0: normalized package name match | Alpine Linux edge package indexes: sord-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | C library for storing RDF data in memory (libraries) | https://drobilla.net/software/sord
- dnf - sord - 0.16.22-1.fc45: normalized package name match | Fedora Rawhide package metadata: sord from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A lightweight Resource Description Framework (RDF) C library | https://drobilla.net/software/sord.html
- dnf - sord-devel - 0.16.22-1.fc45: normalized package name match | Fedora Rawhide package metadata: sord-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development libraries and headers for sord | https://drobilla.net/software/sord.html
- pacman - sord - 0.16.22-1: normalized package name match | Arch Linux sync databases: sord from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A lightweight C library for storing RDF data in memory | https://drobilla.net/software/sord.html


## 相关链接

- [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.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/zh-hans/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [pcre2](https://www.automicvault.com/zh-hans/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [serd](https://www.automicvault.com/zh-hans/pkg/brew/serd/) - Runtime dependency declared by Homebrew.
- [meson](https://www.automicvault.com/zh-hans/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/zh-hans/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [lilv](https://www.automicvault.com/zh-hans/pkg/brew/lilv/) - Popular package that depends on this formula.
- [raptor](https://www.automicvault.com/zh-hans/pkg/brew/raptor/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web.
- [rasqal](https://www.automicvault.com/zh-hans/pkg/brew/rasqal/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web.
- [fuseki](https://www.automicvault.com/zh-hans/pkg/brew/fuseki/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web.
- [jena](https://www.automicvault.com/zh-hans/pkg/brew/jena/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web.
- [redland](https://www.automicvault.com/zh-hans/pkg/brew/redland/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web.
- [hdt](https://www.automicvault.com/zh-hans/pkg/brew/hdt/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web.
- [tinysparql](https://www.automicvault.com/zh-hans/pkg/brew/tinysparql/) - Shares av.db curated category or tags: cli, data, rdf.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
