# 使用 Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, zypper, scoop, winget 安装 fio

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

## 安装

```sh
sudo av install brew:fio
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fio
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add fio
```

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

- Debian apt (92%):

```sh
sudo apt install fio
```

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

- dnf (92%):

```sh
sudo dnf install fio
```

  证据: Fedora Rawhide package metadata: fio 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#fio
```

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

- pacman (92%):

```sh
sudo pacman -S fio
```

  证据: Arch Linux sync databases: fio from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fio
```

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

### Windows

- Chocolatey (92%):

```sh
choco install fio
```

  证据: Chocolatey community package catalog: fio from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','everythingpowertoys'

- Scoop (92%):

```sh
scoop install main/fio
```

  证据: Scoop official bucket manifest trees: bucket/fio.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id fio.fio -e
```

  证据: Windows Package Manager source index: fio.fio from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:fio
- **软件包管理器:** Homebrew
- **版本:** 3.42
- **来源摘要:** I/O benchmark and stress test
- **主页:** <https://github.com/axboe/fio>
- **仓库:** <https://github.com/axboe/fio>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fio (别名)
- fio-btrace2fio (别名)
- fio-dedupe (别名)
- fio-genzipf (别名)
- fio-histo-log-pctiles.py (别名)
- fio-verify-state (别名)
- fio2gnuplot (别名)
- fio_generate_plots (别名)
- fio_jsonplus_clat2csv (别名)
- fiologparser.py (别名)
- fiologparser_hist.py (别名)
- genfio (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

fio, the Flexible I/O Tester, is a storage workload generator, benchmark, and stress-test tool. It lets users describe I/O workloads in job files or command-line options, then runs threads or processes that perform the requested reads, writes, syncs, async I/O, memory-mapped I/O, and other workload patterns.

### 项目历史

The fio manual includes its own origin story: Jens Axboe wrote fio because he was tired of writing special-purpose test programs every time he needed to test a particular workload for performance analysis or bug reproduction. The manual dates that authorship note to September 5, 2006.

That motivation shaped fio's design. Instead of being a single benchmark with one workload model, fio became a flexible engine for simulating many combinations of threads, processes, I/O engines, block sizes, queue depths, files, devices, and verification settings.

The canonical source is documented as Jens Axboe's kernel.org Git repository, with GitHub listed as an official mirror. That kernel-adjacent hosting history fits fio's role: it is a tool used by storage developers, kernel engineers, filesystem maintainers, database operators, and performance testers who need reproducible I/O workloads.

### 采用历史

fio's own documentation records distribution adoption across Debian starting with Squeeze, Ubuntu starting with 10.04 LTS, Fedora starting with Fedora 9 and EPEL 4, plus Mandriva, Arch Linux, Solaris via OpenCSW, BSD package repositories, and Windows installers beginning with fio 3.31.

That adoption pattern is unusually broad for a benchmark: fio is not just a lab tool, but a package-manager-standard executable that support teams and performance engineers expect to find on servers, workstations, CI images, and storage appliances.

### 使用方式

The normal fio workflow is to write a job file that matches the I/O load to simulate, then run fio with that job file. Users can also pass options directly on the command line, and multiple job files can be serialized from one invocation.

fio is used to measure throughput, latency, IOPS, queue-depth behavior, async I/O, filesystem behavior, device saturation, and failure or verification cases. Because it can reproduce tailored workloads without writing new C test programs, it is a common bridge between bug reports and repeatable performance experiments.

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

fio is package-nerd significant because it is the de facto portable storage torture tool. When a package, filesystem, block device, cloud volume, or database stack claims performance behavior, fio is often the small executable used to make that claim reproducible.

It is also a reminder that good benchmarking tools are languages. fio job files encode workload intent, and packagers care because shipping fio gives users a shared grammar for comparing machines, kernels, filesystems, and storage backends.

### 时间线

- 2006: Jens Axboe authors fio to avoid repeatedly writing one-off I/O workload test programs.
- 2008: fio documentation records Fedora 9 and EPEL 4 as starting points for Fedora/EPEL packages.
- 2010: fio documentation records Ubuntu 10.04 LTS as the starting point for Ubuntu packages.
- 2011: fio documentation records Debian Squeeze as the starting point for Debian packages.
- 2022: fio 3.31 begins providing Windows installers for tagged releases.
- 2026: fio documentation identifies 3.41-era development and continued maintenance.

### Related projects

- Linux kernel block-layer and I/O scheduler development are closely related to fio's origin and ongoing use.
- iozone, bonnie++, dd, stress-ng, and filesystem-specific benchmarks are neighboring tools, but fio is usually chosen when workload shape matters.
- Kernel.org infrastructure and the fio mailing list provide the project's canonical development context.

### 来源

- <https://fio.readthedocs.io/en/master/fio_doc.html>
- <https://raw.githubusercontent.com/axboe/fio/master/README.rst>
- <https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio>
- <https://github.com/axboe/fio>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - fio - 3.39-1: normalized package name match | Debian stable package indexes: fio from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | flexible I/O tester | https://github.com/axboe/fio
- Debian apt - fio-examples - 3.39-1: normalized package name match | Debian stable package indexes: fio-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | flexible I/O tester - example job files | https://github.com/axboe/fio
- Nix - fio: normalized package name match | nixpkgs package indexes: pkgs/by-name/fi/fio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fio - 3.36-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: fio from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | flexible I/O tester | https://github.com/axboe/fio
- Ubuntu apt - fio-examples - 3.36-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: fio-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | flexible I/O tester - example job files | https://github.com/axboe/fio
- apk - fio - 3.42-r0: normalized package name match | Alpine Linux edge package indexes: fio from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flexible I/O Tester | https://github.com/axboe/fio
- apk - fio-doc - 3.42-r0: normalized package name match | Alpine Linux edge package indexes: fio-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Flexible I/O Tester (documentation) | https://github.com/axboe/fio
- dnf - fio - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Multithreaded IO generation tool | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-dev-dax - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-dev-dax from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | PMDK dev-dax engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-http - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-http from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | HTTP engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-libaio - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-libaio from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Linux libaio engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-libpmem - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-libpmem from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | PMDK pmemblk engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-nbd - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-nbd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Network Block Device engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-rados - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-rados from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Rados engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-rbd - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-rbd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Rados Block Device engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio
- dnf - fio-engine-rdma - 3.42-3.fc45: normalized package name match | Fedora Rawhide package metadata: fio-engine-rdma from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | RDMA engine for fio. | https://git.kernel.org/pub/scm/linux/kernel/git/axboe/fio


## Combined YAML source

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