# Install sord with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

C library for storing RDF data in memory. Version 0.16.22 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sord
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sord
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:sord
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sord>
- **Version:** 0.16.22
- **Source summary:** C library for storing RDF data in memory
- **Homepage:** <https://drobilla.net/software/sord.html>
- **Repository:** <https://gitlab.com/drobilla/sord>
- **Upstream docs:** <https://drobilla.net/docs/sord>
- **License:** ISC
- **Source archive:** <https://download.drobilla.net/sord-0.16.22.tar.xz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- sord_validate (cli)
- sordi (cli)
- sord_validate (alias)
- sordi (alias)

## Dependencies

- pcre2
- serd
- zix

## Build dependencies

- meson
- ninja
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.16.22
- Local data: ok
- Upstream repository: https://drobilla.net/software/sord.html
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
