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

Fully feature complete YAML parser and emitter. Version 0.9.6 via Homebrew; verified 2026-06-20.

## Install

```sh
sudo av install brew:libfyaml
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libfyaml
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libfyaml
```

  Evidence: MacPorts ports tree: devel/libfyaml/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libfyaml
```

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

- Debian apt (92%):

```sh
sudo apt install libfyaml-dev
```

  Evidence: Debian stable package indexes: libfyaml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install fyaml-utils
```

  Evidence: Fedora Rawhide package metadata: fyaml-utils 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#libfyaml
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/libfyaml/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libfyaml
```

  Evidence: Arch Linux sync databases: libfyaml from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libfyaml-devel
```

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

## Package facts

- **Package key:** brew:libfyaml
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libfyaml>
- **Version:** 0.9.6
- **Source summary:** Fully feature complete YAML parser and emitter
- **Homepage:** <https://github.com/pantoniou/libfyaml>
- **Repository:** <https://github.com/pantoniou/libfyaml>
- **Upstream docs:** <https://pantoniou.github.io/libfyaml>
- **License:** MIT
- **Source archive:** <https://github.com/pantoniou/libfyaml/releases/download/v0.9.6/libfyaml-0.9.6.tar.gz>
- **Last updated:** 2026-06-20T02:53:10Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- fy-compose (cli)
- fy-dump (cli)
- fy-filter (cli)
- fy-join (cli)
- fy-testsuite (cli)
- fy-tool (cli)
- fy-ypath (cli)
- fy-compose (alias)
- fy-dump (alias)
- fy-filter (alias)
- fy-join (alias)
- fy-testsuite (alias)
- fy-tool (alias)
- fy-ypath (alias)

## Build dependencies

- cmake

## 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.9.6
- Package-manager updated: 2026-06-20
- Local data: ok
- Upstream repository: https://github.com/pantoniou/libfyaml
- info: No cached GitHub release or tag data was available.
## Project history and usage

libfyaml is Pantelis Antoniou’s MIT-licensed C library and tool suite for YAML 1.2 and JSON parsing and emitting, emphasizing zero-copy parsing, document and event APIs, diagnostics, and YAML test-suite coverage.

### Project history

GitHub repository metadata records pantoniou/libfyaml creation on 2019-09-16, and the project documentation copyright spans 2019-2026. The README describes the library as a high-performance YAML 1.2 and JSON parser/emitter with zero-copy operation, full document and event APIs, and no artificial key or document size limits.

GitHub release metadata records v0.9 on 2023-09-25, v0.9.6 on 2026-03-15, and a 1.0.0-alpha series beginning on 2026-03-16. The alpha series added generics, reflection/meta-type support, Python binding work, parse caching, optimized generic emission, and wider binary packaging.

### Adoption history

libfyaml’s adoption is narrower than older C YAML libraries, but package records in the input show it in Homebrew, Debian, Ubuntu, Fedora, Arch, MacPorts, Nix, Alpine, and openSUSE. It appeals to projects that need a modern C YAML parser with event, document-tree, path, JSON, and command-line tooling in one package.

### How it is used

The package ships utilities such as fy-tool, fy-dump, fy-compose, fy-filter, fy-join, fy-ypath, and fy-testsuite. Developers can link it through CMake or pkg-config and use core, generic, or reflection APIs depending on whether they need streaming events, document manipulation, schema-light values, or typed C structure serialization.

### Why package nerds care

libfyaml matters to package maintainers because YAML parsing is deceptively hard, security-sensitive, and specification-heavy. A compact C implementation with test-suite emphasis, JSON interop, command-line tools, and optional Python bindings gives distributions another choice besides older libyaml-style stacks.

### Timeline

- 2019-09-16: GitHub repository metadata records creation of pantoniou/libfyaml.
- 2023-09-25: GitHub release metadata records v0.9.
- 2026-03-15: GitHub release metadata records v0.9.6.
- 2026-03-16: GitHub release metadata records v1.0.0-alpha1.
- 2026-05-28: GitHub release metadata records v1.0.0-alpha7.

### Related projects

- The YAML test suite is part of libfyaml’s correctness story.
- The Python binding in python-libfyaml bridges the C generic runtime into Python workflows.
- libyaml is the older C YAML library against which newer C YAML parsers are often compared.

### Sources

- <https://api.github.com/repos/pantoniou/libfyaml>
- <https://api.github.com/repos/pantoniou/libfyaml/releases?per_page=100>
- <https://github.com/pantoniou/libfyaml>
- <https://pantoniou.github.io/libfyaml/>


## 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:** libfyaml
- **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 - libfyaml-dev - 0.8-1+b2: normalized package name match | Debian stable package indexes: libfyaml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fully feature complete YAML parser and emitter (headers) | https://github.com/pantoniou/libfyaml
- Debian apt - libfyaml-utils - 0.8-1+b2: normalized package name match | Debian stable package indexes: libfyaml-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fully feature complete YAML parser and emitter (CLI tools) | https://github.com/pantoniou/libfyaml
- Debian apt - libfyaml0 - 0.8-1+b2: normalized package name match | Debian stable package indexes: libfyaml0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Fully feature complete YAML parser and emitter (library) | https://github.com/pantoniou/libfyaml
- Nix - libfyaml: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libfyaml/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libfyaml-dev - 0.8-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libfyaml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fully feature complete YAML parser and emitter (headers) | https://github.com/pantoniou/libfyaml
- Ubuntu apt - libfyaml-utils - 0.8-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libfyaml-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fully feature complete YAML parser and emitter (CLI tools) | https://github.com/pantoniou/libfyaml
- Ubuntu apt - libfyaml0 - 0.8-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libfyaml0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Fully feature complete YAML parser and emitter (library) | https://github.com/pantoniou/libfyaml
- apk - libfyaml - 0.9.5-r1: normalized package name match | Alpine Linux edge package indexes: libfyaml from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fully feature complete YAML parser and emitter | https://github.com/pantoniou/libfyaml
- apk - libfyaml-dev - 0.9.5-r1: normalized package name match | Alpine Linux edge package indexes: libfyaml-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fully feature complete YAML parser and emitter (development files) | https://github.com/pantoniou/libfyaml
- apk - libfyaml-doc - 0.9.5-r1: normalized package name match | Alpine Linux edge package indexes: libfyaml-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fully feature complete YAML parser and emitter (documentation) | https://github.com/pantoniou/libfyaml
- dnf - fyaml-utils - 0.8-9.fc44: normalized package name match | Fedora Rawhide package metadata: fyaml-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Utility tools for libfyaml | https://github.com/pantoniou/libfyaml
- dnf - libfyaml - 0.8-9.fc44: normalized package name match | Fedora Rawhide package metadata: libfyaml from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Complete YAML parser and emitter | https://github.com/pantoniou/libfyaml
- dnf - libfyaml-devel - 0.8-9.fc44: normalized package name match | Fedora Rawhide package metadata: libfyaml-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Complete YAML parser and emitter | https://github.com/pantoniou/libfyaml
- pacman - libfyaml - 0.9.6-2: normalized package name match | Arch Linux sync databases: libfyaml from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fully feature complete YAML parser and emitter | https://pantoniou.github.io/libfyaml/
- zypper - libfyaml-devel - 0.9.5-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libfyaml-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for libfyaml | https://github.com/pantoniou/libfyaml
- zypper - libfyaml-fy-tool - 0.9.5-1.2: normalized package name match | openSUSE Tumbleweed package metadata: libfyaml-fy-tool from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Command line tools for libfyaml | https://github.com/pantoniou/libfyaml


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [appstream](https://www.automicvault.com/pkg/brew/appstream/) - Popular package that depends on this formula.
- [dhall-json](https://www.automicvault.com/pkg/brew/dhall-json/) - Shares av.db curated category or tags: cli, developer-tools, json, serialization, yaml.
- [btparse](https://www.automicvault.com/pkg/brew/btparse/) - Shares av.db curated category or tags: cli, developer-tools, parser, parsing.
- [cpp-peglib](https://www.automicvault.com/pkg/brew/cpp-peglib/) - Shares av.db curated category or tags: cli, developer-tools, parser, parsing.
- [htmlcleaner](https://www.automicvault.com/pkg/brew/htmlcleaner/) - Shares av.db curated category or tags: cli, developer-tools, parser, parsing.
- [htmlcxx](https://www.automicvault.com/pkg/brew/htmlcxx/) - Shares av.db curated category or tags: cli, developer-tools, parser, parsing.
- [sqlparse](https://www.automicvault.com/pkg/brew/sqlparse/) - Shares av.db curated category or tags: cli, developer-tools, parser, parsing.
- [urdfdom](https://www.automicvault.com/pkg/brew/urdfdom/) - Shares av.db curated category or tags: cli, developer-tools, parser, parsing.
- [yajl](https://www.automicvault.com/pkg/brew/yajl/) - Shares av.db curated category or tags: c-library, cli, developer-tools, json, parser.
- [dyff](https://www.automicvault.com/pkg/brew/dyff/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, json, yaml.

## Combined YAML source

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