# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 virtiofsd

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

## 安装

```sh
sudo av install brew:virtiofsd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install virtiofsd
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add virtiofsd
```

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

- Debian apt (92%):

```sh
sudo apt install virtiofsd
```

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

- dnf (92%):

```sh
sudo dnf install virtiofsd
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#virtiofsd
```

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

- pacman (92%):

```sh
sudo pacman -S virtiofsd
```

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

- zypper (92%):

```sh
sudo zypper install virtiofsd
```

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

## 软件包事实

- **软件包键:** brew:virtiofsd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/virtiofsd>
- **版本:** 1.14.0
- **来源摘要:** Vhost-user virtio-fs device backend written in Rust
- **主页:** <https://gitlab.com/virtio-fs/virtiofsd>
- **上游文档:** <https://gitlab.com/virtio-fs/virtiofsd>
- **许可证:** Apache-2.0 AND BSD-3-Clause
- **源码归档:** <https://gitlab.com/virtio-fs/virtiofsd/-/archive/v1.14.0/virtiofsd-v1.14.0.tar.bz2>
- **最后更新:** 2026-07-22T17:58:24Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- virtiofsd (cli)
- virtiofsd (别名)

## 依赖

- libcap-ng
- libseccomp

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.14.0
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://gitlab.com/virtio-fs/virtiofsd
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

virtiofsd is a Rust vhost-user backend daemon for virtio-fs. It exports a host directory to a virtual machine through a Unix socket or supplied file descriptor, with sandboxing, privilege reduction, and filesystem feature controls.

### 项目历史

The standalone official GitLab repository was created in October 2020. Its recorded releases begin with v1.2.0 in May 2022 and continue through v1.14.0 in July 2026.

### 采用历史

The supplied package metadata records virtiofsd across Alpine, Homebrew, Debian, Fedora-family, Nix, Arch, Ubuntu, and openSUSE package ecosystems. This unusually broad package-manager coverage reflects its role as virtualization infrastructure rather than an interactive desktop utility.

### 使用方式

An operator runs virtiofsd with a shared directory and either a socket path or file descriptor, then connects the corresponding vhost-user-fs device from a hypervisor such as QEMU. The daemon is normally run as root or as fake root in a user namespace and drops capabilities and limits syscalls during startup.

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

virtiofsd is the userspace service that lets virtio-fs packaging evolve independently of a hypervisor release. Distribution maintainers must coordinate a Rust binary with libcap-ng, libseccomp, Linux privilege behavior, hypervisor configuration, and guest filesystem semantics.

### 时间线

- 2020-10: Standalone official GitLab repository created.
- 2022-05: v1.2.0, the oldest release returned by the official GitLab releases API, published.
- 2026-07: v1.14.0 published.

### Related projects

- virtiofsd implements the userspace backend for virtio-fs and is configured alongside a vhost-user-fs frontend in a hypervisor such as QEMU. Its build depends on Rust, libcap-ng, and libseccomp.

### 来源

- <https://gitlab.com/api/v4/projects/virtio-fs%2Fvirtiofsd — official GitLab project metadata and creation date.>
- <https://gitlab.com/api/v4/projects/virtio-fs%2Fvirtiofsd/releases?per_page=100 — official GitLab release history.>
- <https://gitlab.com/virtio-fs/virtiofsd/-/blob/main/README.md — official README for purpose, build dependencies, privilege model, options, and QEMU integration.>
- <https://virtio-fs.gitlab.io/ — official virtio-fs project documentation.>
- input source_facts.package-manager — supplied distribution package records.


## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** virtiofsd
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - virtiofsd - 1.13.2-1+deb13u1: normalized package name match | Debian stable package indexes: virtiofsd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Virtio-fs vhost-user device daemon | https://virtio-fs.gitlab.io/
- Nix - virtiofsd: normalized package name match | nixpkgs package indexes: pkgs/by-name/vi/virtiofsd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - virtiofsd - 1.10.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: virtiofsd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Virtio-fs vhost-user device daemon | https://virtio-fs.gitlab.io/
- apk - virtiofsd - 1.13.3-r1: normalized package name match | Alpine Linux edge package indexes: virtiofsd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | virtio-fs vhost-user device daemon | https://gitlab.com/virtio-fs/virtiofsd
- dnf - virtiofsd - 1.14.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: virtiofsd from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Virtio-fs vhost-user device daemon (Rust version) | https://gitlab.com/virtio-fs/virtiofsd
- pacman - virtiofsd - 1.14.0-1: normalized package name match | Arch Linux sync databases: virtiofsd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Vhost-user virtio-fs device backend written in Rust | https://gitlab.com/virtio-fs/virtiofsd
- zypper - virtiofsd - 1.14.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: virtiofsd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A vhost-user virtio-fs device backend written in Rust | https://gitlab.com/virtio-fs/virtiofsd


## 相关链接

- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libseccomp](https://pkg.so/zh-hans/brew/libseccomp/) - Runtime dependency declared by Homebrew.
- [libcap-ng](https://pkg.so/zh-hans/brew/libcap-ng/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [cbonsai](https://pkg.so/zh-hans/brew/cbonsai/) - Local package facts share a topical domain. Shared terms: written.
- [slirp4netns](https://pkg.so/zh-hans/brew/slirp4netns/) - Local package facts share a topical domain. Shared terms: libcap, libseccomp, user.

## Combined YAML source

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


## 来源

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
