# 使用 Homebrew, MacPorts, apt 安装 yazpp

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

## 安装

```sh
sudo av install brew:yazpp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install yazpp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yazpp
```

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

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install libyazpp-dev
```

  证据: Ubuntu 24.04 LTS package indexes: libyazpp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:yazpp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/yazpp>
- **版本:** 1.9.2
- **来源摘要:** C++ API for the Yaz toolkit
- **主页:** <https://www.indexdata.com/resources/software/yazpp/>
- **上游文档:** <https://www.indexdata.com/resources/software/yazpp/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://ftp.indexdata.com/pub/yazpp/yazpp-1.9.2.tar.gz>
- **最后更新:** 2026-05-20T20:33:59Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- yazpp-config (cli)
- yazpp-config (别名)

## 依赖

- yaz

## 构建依赖

- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.9.2
- 管理器更新时间: 2026-05-20
- 本地数据: OK
- 上游仓库: https://www.indexdata.com/resources/software/yazpp/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

YAZ++ is Index Data's C++ layer around the YAZ information-retrieval toolkit. It gives C++ developers libraries, headers, sample utilities, and a ZOOM C++ binding for building Z39.50, SRU, and related library-search clients and servers.

### 项目历史

YAZ++ grew out of the long-running YAZ ecosystem, which Index Data describes as a toolkit for Z39.50, SRW/SRU, and Solr-oriented information retrieval. The YAZ repository traces that base toolkit back to 1995, while the YAZ++ documentation frames this package as the C++ layer for using YAZ from C++ rather than C.

The ZOOM C++ binding became part of YAZ++ early: the ZOOM site noted on 2002-10-24 that the YAZ implementation was available as part of the new YAZ++ toolkit and included in YAZ++ releases from 0.4 onward. Later YAZ++ documentation says versions 0.7 and newer added SRU support.

The modern GitHub repository was created on 2016-01-06 as a public mirror/workspace for a codebase that was already established in the library-technology world. Its README still presents the package in classic toolkit terms: a C++ library, C++ headers, DocBook documentation, Windows build files, and small example clients and servers.

### 采用历史

YAZ++ adoption is mostly within the library, catalog, and metadata-search niche rather than general-purpose C++ development. The Library of Congress Z39.50 software resources page lists YAZ / YAZ++ as C/C++ programmer toolkits for Z39.50/SRW/SRU clients and servers, reflecting its role in standards-based library interoperability.

The package is useful where organizations already rely on YAZ but want C++ objects and ZOOM abstractions. That adoption pattern is narrow but durable: a small toolkit can stay packaged for years because Z39.50/SRU infrastructure in libraries changes slowly and values protocol compatibility.

### 使用方式

Developers use YAZ++ to build Z39.50 or SRU clients and servers in C++. The package includes examples such as a basic client, a basic server, and a ZOOM client, and the API documentation describes socket observers, PDU observers, query abstractions, and higher-level client/server objects around YAZ data structures.

In practice, YAZ++ sits below discovery applications, proxies, and catalog integrations. It is not a user-facing search program so much as a packaged protocol library for developers who need to speak established library-retrieval protocols.

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

YAZ++ is package-nerd significant because it is a small binding package for a very specific standards ecosystem. It shows why package managers keep niche libraries alive: the audience is small, but the consumers need reproducible builds for long-lived institutional infrastructure.

It also illustrates the packaging split common in C/C++ protocol stacks: the base C toolkit, language bindings, examples, generated documentation, and downstream packages all matter separately even when the visible command-line surface is tiny.

### 时间线

- 1995: Index Data's YAZ toolkit lineage begins, providing the C base that YAZ++ wraps.
- 2002-10-24: The ZOOM C++ site documents the YAZ implementation as part of the new YAZ++ toolkit and included from YAZ++ 0.4 onward.
- YAZ++ 0.7 era: The YAZ++ introduction notes SRU support in later versions, starting with 0.7 and newer.
- 2016-01-06: The public GitHub repository for indexdata/yazpp is created.

### Related projects

- Related projects include YAZ, YAZ Proxy, ZOOM, ZOOM-Perl, yaz4j, PHP/YAZ, Zebra, Z39.50, SRU/SRW, Solr, DocBook, and the Library of Congress Z39.50 standards ecosystem.

### 来源

- <https://api.github.com/repos/indexdata/yazpp>
- <https://github.com/indexdata/yaz>
- <https://github.com/indexdata/yazpp>
- <https://raw.githubusercontent.com/indexdata/yazpp/master/README.md>
- <https://software.indexdata.com/yazpp/doc/api.html>
- <https://software.indexdata.com/yazpp/doc/introduction.html>
- <https://www.loc.gov/standards/z3950/agency/resources/software.html>
- <https://zoom.z3950.org/bind/cplusplus/yaz/index.html>


## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** yazpp
- **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

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

- Ubuntu apt - libyazpp-dev - 1.6.5-0ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libyazpp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development libraries for YAZ++ and ZOOM | http://www.indexdata.dk/yazplusplus/
- Ubuntu apt - libyazpp-doc - 1.6.5-0ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libyazpp-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Documentation for YAZ++ | http://www.indexdata.dk/yazplusplus/
- Ubuntu apt - libyazpp6 - 1.6.5-0ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: libyazpp6 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | YAZ++ and ZOOM library | http://www.indexdata.dk/yazplusplus/
- MacPorts - yazpp: normalized package name match | MacPorts ports tree: net/yazpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [yaz](https://pkg.so/zh-hans/brew/yaz/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [metaproxy](https://pkg.so/zh-hans/brew/metaproxy/) - Popular package that depends on this formula.
- [pazpar2](https://pkg.so/zh-hans/brew/pazpar2/) - Shares pkgdb curated category or tags: cli, developer-tools, solr, sru, z39-50.
- [enchant](https://pkg.so/zh-hans/brew/enchant/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, library.
- [log4cpp](https://pkg.so/zh-hans/brew/log4cpp/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, library.
- [cctz](https://pkg.so/zh-hans/brew/cctz/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, library.
- [htmlcxx](https://pkg.so/zh-hans/brew/htmlcxx/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, library.
- [cpp-peglib](https://pkg.so/zh-hans/brew/cpp-peglib/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, library.
- [ctemplate](https://pkg.so/zh-hans/brew/ctemplate/) - Shares pkgdb curated category or tags: c-plus-plus, cli, developer-tools, library.

## Combined YAML source

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


## 来源

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