# 使用 Homebrew, apk, dnf 安装 xnvme

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

## 安装

```sh
sudo av install brew:xnvme
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xnvme
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add xnvme
```

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

- dnf (92%):

```sh
sudo dnf install xnvme
```

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

## 软件包事实

- **软件包键:** brew:xnvme
- **软件包管理器:** Homebrew
- **版本:** 0.7.5
- **来源摘要:** Cross-platform libraries and tools for efficient I/O and low-level control
- **主页:** <https://xnvme.io/>
- **仓库:** <https://github.com/xnvme/xnvme>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- kvs (别名)
- lblk (别名)
- xdd (别名)
- xnvme (别名)
- xnvme-driver (别名)
- xnvme_file (别名)
- zoned (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

xNVMe is a low-level storage toolkit and C library for programming NVMe devices from user space across multiple platforms and I/O backends. Its central promise is I/O-interface independence: code against libxnvme and retarget the actual path through Linux kernel interfaces, io_uring, SPDK, FreeBSD, Windows-style paths, or other backends.

### 项目历史

The GitHub repository was created in April 2020. The documentation presents libxnvme as the foundation: it provides memory-management helpers, synchronous and asynchronous NVMe command submission, convenience functions, command-line tools, and backend retargeting over drivers such as Linux IOCTL, libaio, io_uring, SPDK, FreeBSD IOCTL, and others.

The project's research framing was published in the 2022 paper 'I/O interface independence with xNVMe', which argues that modern storage programmers face too many idiosyncratic high-performance I/O interfaces and presents xNVMe as a thin abstraction over those choices.

### 采用历史

xNVMe adoption is strongest in storage systems, benchmarking, and research workflows rather than general desktop use. The official docs include tools such as xnvme, lblk, zoned, xdd, xnvmeperf, and a fio I/O engine, which makes the package useful both as a library and as a command-line toolbox for NVMe experiments.

The integration story is important. SPDK documents an xNVMe bdev module that can issue I/O through mechanisms such as libaio, io_uring, asynchronous IOCTL with io_uring passthrough, POSIX aio, and emulated aio, while fio documents an xnvme engine for accessing NVMe devices through xNVMe's C API and backend choices.

### 使用方式

Developers use libxnvme when they need to allocate suitable buffers, submit NVMe commands, choose synchronous or asynchronous completion models, and switch between backend implementations without rewriting the application for every platform or driver stack.

Operators and researchers use the packaged tools for direct device experiments: querying devices, issuing commands, working with logical blocks and zoned namespaces, exercising xdd-style data movement, and running fio jobs through the xnvme engine.

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

xNVMe is significant because it packages a hard systems-programming problem as installable infrastructure. It does not hide NVMe; it standardizes the messy edge between applications, kernel APIs, userspace drivers, DMA-safe buffers, and benchmark tools.

For package nerds, it is also a marker of modern storage packaging: a formula can ship a library plus multiple expert CLIs, and those binaries matter to developers working on databases, file systems, benchmarks, zoned storage, and SPDK/io_uring experiments.

### 时间线

- 2020-04-02: The xnvme/xnvme GitHub repository is created.
- 2022: 'I/O interface independence with xNVMe' is published, documenting the project's design and performance motivation.
- 2022-2024: GitHub releases show the public 0.x line maturing through storage tools, documentation, and backend work.
- 2020s: xNVMe appears in SPDK and fio documentation as a backend/engine for NVMe I/O across multiple mechanisms.

### Related projects

- SPDK is a key adjacent userspace storage stack; its bdev_xnvme module uses xNVMe as an I/O mechanism abstraction.
- fio includes an xnvme I/O engine for benchmarking NVMe devices through xNVMe.
- io_uring, libaio, NVMe IOCTLs, and SPDK drivers are backend paths xNVMe helps applications target.
- nvme-cli is an adjacent command-line NVMe administration tool, while xNVMe focuses on programmable I/O and backend independence.

### 来源

- <https://api.github.com/repos/xnvme/xnvme>
- <https://dl.acm.org/doi/10.1145/3534056.3534936>
- <https://fio.readthedocs.io/en/latest/fio_doc.html>
- <https://github.com/xnvme/xnvme>
- <https://xnvme.io/>
- <https://xnvme.io/tools/fio/index.html>
- <https://xnvme.io/tutorial/bdev_xnvme/index.html>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- apk - py3-xnvme - 0.7.5-r1: normalized package name match | Alpine Linux edge package indexes: py3-xnvme from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | cross-platform libraries and tools for NVMe devices | https://xnvme.io
- apk - py3-xnvme-pyc - 0.7.5-r1: normalized package name match | Alpine Linux edge package indexes: py3-xnvme-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for py3-xnvme | https://xnvme.io
- apk - xnvme - 0.7.5-r1: normalized package name match | Alpine Linux edge package indexes: xnvme from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | cross-platform libraries and tools for NVMe devices | https://xnvme.io
- apk - xnvme-dev - 0.7.5-r1: normalized package name match | Alpine Linux edge package indexes: xnvme-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | cross-platform libraries and tools for NVMe devices (development files) | https://xnvme.io
- apk - xnvme-doc - 0.7.5-r1: normalized package name match | Alpine Linux edge package indexes: xnvme-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | cross-platform libraries and tools for NVMe devices (documentation) | https://xnvme.io
- dnf - xnvme - 0.7.5-7.fc45: normalized package name match | Fedora Rawhide package metadata: xnvme from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Unified API and tools for traditional and emerging I/O interfaces | https://github.com/xnvme/xnvme
- dnf - xnvme-devel - 0.7.5-7.fc45: normalized package name match | Fedora Rawhide package metadata: xnvme-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development library and header files for xnvme | https://github.com/xnvme/xnvme
- dnf - xnvme-static - 0.7.5-7.fc45: normalized package name match | Fedora Rawhide package metadata: xnvme-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Static library for xnvme | https://github.com/xnvme/xnvme
- dnf - xnvme-tools - 0.7.5-7.fc45: normalized package name match | Fedora Rawhide package metadata: xnvme-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command-line tools for storage I/O and NVMe-native development | https://github.com/xnvme/xnvme


## Combined YAML source

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