# Install yaz with Homebrew, apt, dnf, MacPorts, pacman, zypper

Toolkit for Z39.50/SRW/SRU clients/servers. Version 5.37.3 via Homebrew; verified 2026-05-20.

## Install

```sh
sudo av install brew:yaz
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install yaz
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yaz
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install libyaz-dev
```

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

- dnf (92%):

```sh
sudo dnf install libyaz
```

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

- pacman (92%):

```sh
sudo pacman -S yaz
```

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

- zypper (92%):

```sh
sudo zypper install libyaz-devel
```

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

## Package facts

- **Package key:** brew:yaz
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/yaz>
- **Version:** 5.37.3
- **Source summary:** Toolkit for Z39.50/SRW/SRU clients/servers
- **Homepage:** <https://www.indexdata.com/resources/software/yaz/>
- **Repository:** <https://github.com/indexdata/yaz>
- **Upstream docs:** <https://software.indexdata.com/yaz/doc/index.html>
- **License:** BSD-3-Clause
- **Source archive:** <https://ftp.indexdata.com/pub/yaz/yaz-5.37.3.tar.gz>
- **Last updated:** 2026-05-20T17:39:04Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- yaz-asncomp (cli)
- yaz-client (cli)
- yaz-config (cli)
- yaz-iconv (cli)
- yaz-icu (cli)
- yaz-illclient (cli)
- yaz-json-parse (cli)
- yaz-marcdump (cli)
- yaz-record-conv (cli)
- yaz-url (cli)
- yaz-ztest (cli)
- zoomsh (cli)
- yaz-asncomp (alias)
- yaz-client (alias)
- yaz-config (alias)
- yaz-iconv (alias)
- yaz-icu (alias)
- yaz-illclient (alias)
- yaz-json-parse (alias)
- yaz-marcdump (alias)
- yaz-record-conv (alias)
- yaz-url (alias)
- yaz-ztest (alias)
- zoomsh (alias)

## Dependencies

- gnutls
- icu4c@78

## Build dependencies

- pkgconf

## Uses from macOS

- libxml2
- libxslt

## 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: 5.37.3
- Package-manager updated: 2026-05-20
- Local data: ok
- Upstream repository: https://www.indexdata.com/resources/software/yaz/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

YAZ is Index Data's C toolkit for building Z39.50, SRW/SRU, and related library-search clients and servers. For package nerds it is infrastructure from the library-automation world: a protocol stack, command-line utilities, and bindings that keep old and specialized bibliographic search networks usable from modern systems.

### Project history

Index Data states that YAZ has been a leading toolkit for Z39.50 clients and servers since its first release in 1995. Over three decades it grew from Z39.50 support into SRW/SRU, Z39.50-2003, SRU 1.1 through 2.0, Solr client access through the ZOOM API, and a family of related bindings and tools.

The GitHub repository describes the main output as the YAZ library, containing support functions for implementing server and client roles for Z39.50 and SRU. The repository was created on GitHub in 2016, but its copyright line and official product page make clear that the toolkit predates the GitHub era by decades.

### Adoption history

YAZ was adopted in the library and information-retrieval niche because Z39.50 is complex, old, and still operationally important. The Library of Congress Z39.50 software page lists YAZ and YAZ++ as C/C++ toolkits for Z39.50/SRW/SRU clients and servers, including Z39.50-2003 and the industry-standard ZOOM API.

Index Data's page emphasizes both direct use in C applications and downstream language bindings or sibling tools: YAZ++, PHP/YAZ, SimpleServer, NET::Z3950, yaz4j, and ZOOM API bindings. That ecosystem made YAZ a base layer for metasearch gateways, catalogs, discovery tools, and vendor integrations.

### How it is used

Developers use the library to implement Z39.50 and SRU client or server roles. Package users also get utilities such as yaz-client for interactive protocol testing, yaz-marcdump for inspecting MARC records, yaz-iconv and yaz-record-conv for record conversion, and zoomsh for ZOOM-based client work.

In practice, YAZ often appears when integrating library catalogs, debugging remote bibliographic services, converting MARC data, or maintaining older discovery systems that still speak Z39.50/SRU alongside newer HTTP APIs.

### Why package nerds care

YAZ matters because it is a living bridge between pre-web library protocols and contemporary open-source packaging. It is not fashionable infrastructure, but it is exactly the sort of deeply specialized C library that keeps institutional data systems interoperable.

It is also a good reminder that package ecosystems are not only developer fashion cycles. Some packages persist because standards, public institutions, and long-lived catalogs persist.

### Timeline

- 1995: Index Data releases the first YAZ toolkit.
- 2000: Library Technology Guides lists YAZ as an open-source Z39.50v3 programmer's toolkit.
- 2016: The indexdata/yaz GitHub repository is created.
- 2020s: Index Data describes YAZ as supporting Z39.50, SRW/SRU, SRU 1.1 through 2.0, ZOOM, and Solr client access.

### Related projects

- YAZ++ is the C++ toolkit related to YAZ.
- PHP/YAZ, SimpleServer, NET::Z3950, and yaz4j are bindings or wrappers in the YAZ ecosystem.
- ZOOM is the higher-level API used by YAZ and related language bindings for Z39.50 work.
- Zebra, Pazpar2, and other Index Data tools commonly live near YAZ in library-search deployments.

### Sources

- <https://api.github.com/repos/indexdata/yaz>
- <https://github.com/indexdata/yaz>
- <https://librarytechnology.org/document/8633/>
- <https://www.indexdata.com/resources/software/yaz/>
- <https://www.loc.gov/standards/z3950/agency/resources/software.html>


## Security Notes

No matching local secret-handling manifest was found for yaz. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libyaz-dev - 5.34.4-1+b1: normalized package name match | Debian stable package indexes: libyaz-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Z39.50/SRW/SRU toolkit (development files) | https://www.indexdata.com/resources/software/yaz/
- Debian apt - libyaz5 - 5.34.4-1+b1: normalized package name match | Debian stable package indexes: libyaz5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Z39.50/SRW/SRU toolkit (libraries) | https://www.indexdata.com/resources/software/yaz/
- Debian apt - yaz - 5.34.4-1+b1: normalized package name match | Debian stable package indexes: yaz from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Z39.50/SRW/SRU toolkit (utilities) | https://www.indexdata.com/resources/software/yaz/
- Debian apt - yaz-doc - 5.34.4-1: normalized package name match | Debian stable package indexes: yaz-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Z39.50/SRW/SRU toolkit (documentation) | https://www.indexdata.com/resources/software/yaz/
- Debian apt - yaz-icu - 5.34.4-1+b1: normalized package name match | Debian stable package indexes: yaz-icu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Z39.50/SRW/SRU toolkit (command-line client for ICU) | https://www.indexdata.com/resources/software/yaz/
- Debian apt - yaz-illclient - 5.34.4-1+b1: normalized package name match | Debian stable package indexes: yaz-illclient from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Z39.50/SRW/SRU toolkit (command-line client for ILL) | https://www.indexdata.com/resources/software/yaz/
- Ubuntu apt - libyaz-dev - 5.34.0-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libyaz-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Z39.50/SRW/SRU toolkit (development files) | https://www.indexdata.com/resources/software/yaz/
- Ubuntu apt - libyaz5 - 5.34.0-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libyaz5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Z39.50/SRW/SRU toolkit (libraries) | https://www.indexdata.com/resources/software/yaz/
- Ubuntu apt - yaz - 5.34.0-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: yaz from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Z39.50/SRW/SRU toolkit (utilities) | https://www.indexdata.com/resources/software/yaz/
- Ubuntu apt - yaz-doc - 5.34.0-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: yaz-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Z39.50/SRW/SRU toolkit (documentation) | https://www.indexdata.com/resources/software/yaz/
- Ubuntu apt - yaz-icu - 5.34.0-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: yaz-icu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Z39.50/SRW/SRU toolkit (command-line client for ICU) | https://www.indexdata.com/resources/software/yaz/
- Ubuntu apt - yaz-illclient - 5.34.0-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: yaz-illclient from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Z39.50/SRW/SRU toolkit (command-line client for ILL) | https://www.indexdata.com/resources/software/yaz/
- dnf - libyaz - 5.37.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: libyaz from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Shared libraries for yaz | http://www.indexdata.com/yaz/
- dnf - libyaz-devel - 5.37.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: libyaz-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for yaz | http://www.indexdata.com/yaz/
- dnf - yaz - 5.37.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: yaz from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Z39.50/SRW/SRU toolkit | http://www.indexdata.com/yaz/
- dnf - yaz-doc - 5.37.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: yaz-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation for yaz | http://www.indexdata.com/yaz/


## 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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gnutls](https://www.automicvault.com/pkg/brew/gnutls/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [metaproxy](https://www.automicvault.com/pkg/brew/metaproxy/) - Popular package that depends on this formula.
- [pazpar2](https://www.automicvault.com/pkg/brew/pazpar2/) - Popular package that depends on this formula.
- [yazpp](https://www.automicvault.com/pkg/brew/yazpp/) - Popular package that depends on this formula.
- [zebra](https://www.automicvault.com/pkg/brew/zebra/) - Popular package that depends on this formula.
- [cdk](https://www.automicvault.com/pkg/brew/cdk/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [expat](https://www.automicvault.com/pkg/brew/expat/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [fstrm](https://www.automicvault.com/pkg/brew/fstrm/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libevent](https://www.automicvault.com/pkg/brew/libevent/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libxml2](https://www.automicvault.com/pkg/brew/libxml2/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libxo](https://www.automicvault.com/pkg/brew/libxo/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libxslt](https://www.automicvault.com/pkg/brew/libxslt/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.

## Combined YAML source

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