# 使用 Homebrew, apt, dnf 安装 afuse

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

## 安装

```sh
sudo av install brew:afuse
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install afuse
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install afuse
```

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

- dnf (92%):

```sh
sudo dnf install afuse
```

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

## 软件包事实

- **软件包键:** brew:afuse
- **软件包管理器:** Homebrew
- **版本:** 0.5.0
- **来源摘要:** Automounting file system implemented in userspace with FUSE
- **主页:** <https://github.com/pcarrier/afuse/>
- **仓库:** <https://github.com/pcarrier/afuse>
- **最后更新:** 2026-06-21T17:35:26-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- afuse (别名)
- afuse-avahissh (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

afuse is an automounting filesystem implemented in user space with FUSE. It manages a directory of virtual directories and mounts a filesystem on demand when a path is accessed.

### 项目历史

The upstream NEWS file records an initial 0.1 release, followed by 0.1.1 moving to SVN because SourceForge CVS was unreliable, 0.2 adding timeout-based unmounting, 0.4 adding macOS and FreeBSD support plus root pre-population, and 0.5.0 adding a mount_dir option. The current GitHub repository was created in 2013 and preserves that earlier SourceForge/SVN lineage in commit messages.

The README presents afuse as a minimal user-space automounter rather than a full replacement for system automount services. Its design advantage is that it runs as the invoking user, so mount commands can use that user's environment, ssh-agent, and graphical session when appropriate.

### 采用历史

afuse is packaged in Homebrew, Debian, Fedora, and Ubuntu according to the supplied facts. That distribution profile fits its Unix utility role: it is small, scriptable, and useful to people composing sshfs or other FUSE filesystems.

The package also ships afuse-avahissh, an example script that uses Avahi-discovered SFTP hosts to pre-populate the afuse root. That helper makes the tool more discoverable as a network-filesystem convenience package rather than only a FUSE primitive.

### 使用方式

A common invocation uses mount_template and unmount_template options, for example mounting sshfs targets below an afuse mountpoint and unmounting them with fusermount. afuse can also pre-populate its root directory from an external command and supports options such as exact_getattr and flushwrites.

The README warns that automounted filesystems are proxied through afuse and real mounts live under a temporary instance-specific directory, so there is overhead and stale temporary directories can remain after unclean shutdowns.

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

afuse is a compact example of the Unix packaging sweet spot: one executable, one helper script, and a behavior that becomes powerful only when combined with sshfs, Avahi, and shell templates.

It also carries historical packaging details: old SourceForge/SVN origins, FUSE ABI expectations, and platform notes for Linux, macOS, and FreeBSD.

### 时间线

- 2008: 0.2 release commit imported from SourceForge SVN.
- 2013: GitHub repository created.
- 2022: 0.5.0 release commit added mount_dir support.
- 2026: Supplied package facts show afuse in Homebrew, Debian, Fedora, and Ubuntu.

### Related projects

- FUSE is the userspace filesystem interface afuse is built on.
- sshfs is the example mount command used in the README.
- Avahi is used by the afuse-avahissh helper for service discovery.

### 来源

- <https://api.github.com/repos/pcarrier/afuse>
- <https://github.com/pcarrier/afuse#readme>
- <https://raw.githubusercontent.com/pcarrier/afuse/master/NEWS>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - afuse - 0.5.0-0.1+b1: normalized package name match | Debian stable package indexes: afuse from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | automounting file system implemented in user-space using FUSE | https://github.com/pcarrier/afuse
- Ubuntu apt - afuse - 0.5.0-0.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: afuse from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | automounting file system implemented in user-space using FUSE | https://github.com/pcarrier/afuse
- dnf - afuse - 0.5.0-6.fc45: normalized package name match | Fedora Rawhide package metadata: afuse from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An automounter implemented with FUSE | https://github.com/pcarrier/afuse/


## Combined YAML source

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