# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 kyua

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

## 安装

```sh
sudo av install brew:kyua
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install kyua
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kyua
```

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

### Linux

- apk (92%):

```sh
sudo apk add kyua
```

  证据: Alpine Linux edge package indexes: kyua from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install kyua
```

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

- dnf (92%):

```sh
sudo dnf install kyua
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#kyua
```

  证据: nixpkgs package indexes: pkgs/by-name/ky/kyua/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:kyua
- **软件包管理器:** Homebrew
- **版本:** 0.14.1
- **来源摘要:** Testing framework for infrastructure software
- **主页:** <https://github.com/freebsd/kyua>
- **仓库:** <https://github.com/freebsd/kyua>
- **最后更新:** 2026-06-25T13:37:47+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kyua (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Kyua is a BSD-oriented test runner and reporting tool for infrastructure software. It was designed around ATF compatibility but grew into a standalone command-line runtime able to run ATF tests, plain test programs, and TAP-style tests.

For package people, Kyua matters because it is not just another unit-test binary: it is part of the operating-system test-suite story for NetBSD and FreeBSD, and it appears across ports and distribution packages as the runner behind many low-level test suites.

### 项目历史

Kyua began in November 2010 as Julio Merino's attempt to replace the ATF tools while preserving compatibility with ATF-written tests. The NetBSD wiki framed the goal as reimplementing the ATF tools while keeping the NetBSD test suite usable, especially to unlock features such as parallel execution, richer reports, and support for non-ATF tests.

The project reached Kyua 0.1 in July 2011 after it could run most of the NetBSD test suite unmodified. FreeBSD later adopted Kyua as part of its own test-suite and CI work, and in 2024 the project moved under the FreeBSD GitHub organization after a long quiet period.

### 采用历史

Kyua's adoption followed BSD operating-system testing needs rather than application-framework fashion. Its README documents packages for FreeBSD, NetBSD pkgsrc, OpenBSD, Fedora, and Homebrew, reflecting a tool distributed mainly where system test suites and ports infrastructure need a common runner.

FreeBSD documentation describes ATF test programs relying on a separate runtime engine and names Kyua as the runtime of choice. That made Kyua part of the practical interface between operating-system tests, package builds, and CI reporting.

### 使用方式

Users define test suites with Kyuafiles and run them with the `kyua` command. Kyua records results, can generate reports, and can run tests written with ATF as well as simpler external programs.

The 0.12 release in November 2015 added parallel test execution, a significant improvement for large system test suites where individual tests are often I/O-bound or process-bound rather than CPU-bound.

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

Kyua is a classic package-nerd tool because it lives at the layer where packaging, operating-system QA, and reproducible test execution meet. It is small enough to install as a command-line dependency, but important enough that a broken Kyua package can affect large downstream test runs.

Its relationship with ATF, TAP, FreeBSD, NetBSD, and Homebrew makes it a useful marker of Unix test infrastructure moving from ad hoc scripts toward queryable, reportable test databases.

### 时间线

- 2010: Kyua was born as a testing framework for infrastructure software.
- 2011: Kyua 0.1 was launched after it could run most of the NetBSD test suite unmodified.
- 2013: Work to integrate Kyua into FreeBSD was underway.
- 2015: Kyua 0.12 added parallel test execution.
- 2016: Kyua 0.13 was released with fixes for timestamps, TAP parsing, and long-running executions.
- 2024: The project moved under the FreeBSD GitHub organization.
- 2025: Kyua 0.14.1 was released with renewed ATF compatibility and build fixes.

### Related projects

- ATF is Kyua's closest companion: ATF provides libraries and conventions for writing tests, while Kyua runs them and records results.
- TAP support connects Kyua to the broader Unix testing convention used by many language and packaging ecosystems.
- FreeBSD CI and test-suite work helped turn Kyua from a NetBSD-adjacent experiment into practical operating-system testing infrastructure.

### 来源

- <https://blogsystem5.substack.com/p/kyua-graduates>
- <https://github.com/freebsd/kyua>
- <https://man.freebsd.org/cgi/man.cgi?format=html&query=atf&sektion=7>
- <https://raw.githubusercontent.com/freebsd/kyua/master/NEWS>
- <https://raw.githubusercontent.com/freebsd/kyua/master/README.md>
- <https://wiki.netbsd.org/kyua/>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

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

- Debian apt - kyua - 0.13+git20240311+0a43bb8d89e3-3: normalized package name match | Debian stable package indexes: kyua from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | testing framework for infrastructure software | https://github.com/freebsd/kyua
- Nix - kyua: normalized package name match | nixpkgs package indexes: pkgs/by-name/ky/kyua/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kyua - 0.13+git20190402+a685f911237e-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: kyua from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | testing framework for infrastructure software | https://github.com/jmmv/kyua
- apk - kyua - 0.14.1-r0: normalized package name match | Alpine Linux edge package indexes: kyua from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | testing framework for infrastructure software | https://github.com/freebsd/kyua
- apk - kyua-dbg - 0.14.1-r0: normalized package name match | Alpine Linux edge package indexes: kyua-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | testing framework for infrastructure software (debug symbols) | https://github.com/freebsd/kyua
- apk - kyua-doc - 0.14.1-r0: normalized package name match | Alpine Linux edge package indexes: kyua-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | testing framework for infrastructure software (documentation) | https://github.com/freebsd/kyua
- dnf - kyua - 0.13-22.fc45: normalized package name match | Fedora Rawhide package metadata: kyua from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Testing framework for infrastructure software | https://github.com/jmmv/kyua
- dnf - kyua-tests - 0.13-22.fc45: normalized package name match | Fedora Rawhide package metadata: kyua-tests from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Runtime tests of the Kyua toolchain | https://github.com/jmmv/kyua
- MacPorts - kyua: normalized package name match | MacPorts ports tree: devel/kyua/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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