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

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install yaz
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yaz
```

  证据: 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 yaz
```

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

- dnf (92%):

```sh
sudo dnf install yaz
```

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

- pacman (92%):

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

  证据: 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 yaz
```

  证据: openSUSE Tumbleweed package metadata: yaz from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:yaz
- **软件包管理器:** Homebrew
- **版本:** 5.37.3
- **来源摘要:** Toolkit for Z39.50/SRW/SRU clients/servers
- **主页:** <https://www.indexdata.com/resources/software/yaz/>
- **仓库:** <https://github.com/indexdata/yaz>
- **最后更新:** 2026-05-20T17:39:04Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.37.3
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

没有找到 yaz 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Shared libraries for yaz | http://www.indexdata.com/yaz/
- dnf - libyaz-devel - 5.37.3-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for yaz | http://www.indexdata.com/yaz/
- dnf - yaz - 5.37.3-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Z39.50/SRW/SRU toolkit | http://www.indexdata.com/yaz/
- dnf - yaz-doc - 5.37.3-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for yaz | http://www.indexdata.com/yaz/


## Combined YAML source

View the package source record on GitHub. [combined/yaz.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yaz.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
