# btfs を Homebrew, apk, apt, MacPorts, Nix, pacman, zypper でインストール

btfs のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:btfs
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install btfs
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install btfs
```

  証拠: MacPorts ports tree: fuse/btfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add btfs
```

  証拠: Alpine Linux edge package indexes: btfs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install btfs
```

  証拠: Debian stable package indexes: btfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#btfs
```

  証拠: nixpkgs package indexes: pkgs/by-name/bt/btfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S btfs
```

  証拠: Arch Linux sync databases: btfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install btfs
```

  証拠: openSUSE Tumbleweed package metadata: btfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:btfs
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/btfs>
- **バージョン:** 3.1
- **ソース概要:** BitTorrent filesystem based on FUSE
- **ホームページ:** <https://github.com/johang/btfs>
- **リポジトリ:** <https://github.com/johang/btfs>
- **上流ドキュメント:** <https://github.com/johang/btfs#readme>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://github.com/johang/btfs/archive/refs/tags/v3.1.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- btfs (cli)
- btfsstat (cli)
- btplay (cli)
- btfs (エイリアス)
- btfsstat (エイリアス)
- btplay (エイリアス)

## 依存関係

- curl
- libfuse
- libtorrent-rasterbar
- openssl@3

## ビルド依存関係

- autoconf
- automake
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 3.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/johang/btfs
- 検出された最新: v3.1 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

BTFS is a FUSE filesystem that mounts a .torrent file or magnet link as a read-only directory. Files are downloaded on demand as applications read them, so ordinary tools like ls, cat, cp, VLC, and mplayer can operate on torrent contents through the filesystem.

### プロジェクトの歴史

Johan Gunnarsson's btfs repository starts in July 2015 and tagged v2.0 the next day. The project combines libtorrent-rasterbar with FUSE to expose BitTorrent content as a normal file tree.

The project continued as a small but portable Unix tool and reached v3.0 in May 2025 with a port to libfuse 3.x, followed by v3.1.

### 採用の歴史

BTFS is packaged unusually widely for a niche FUSE utility. The official README includes install commands for Debian/Ubuntu, Arch Linux, Gentoo, Fedora, Fedora OSTree, openSUSE, and macOS via Homebrew.

The input also records packaging across Homebrew, MacPorts, Nix, Debian, Ubuntu, Alpine, Arch, and zypper ecosystems, showing that the tool became a standard package-manager object despite its specialized torrent-filesystem use case.

### 使われ方

A typical session creates a mount directory, mounts a torrent or magnet link with btfs, changes into the mounted directory, and opens media or copies files normally. The mount is read-only and content is fetched on demand as the kernel asks the FUSE filesystem for file data.

### パッケージ好きにとっての重要性

BTFS is package-nerd candy because it turns BitTorrent into a filesystem abstraction: a small CLI package that bridges P2P distribution, FUSE, libtorrent, media playback, and ordinary Unix file tools.

### タイムライン

- 2015: Initial commit and v2.0 tag.
- 2025: v3.0 ports btfs to libfuse 3.x.
- 2025: v3.1 follows the libfuse 3.x port.

### Related projects

- BTFS depends on FUSE or macFUSE to expose torrents as mounted directories.
- BTFS uses libtorrent-rasterbar for BitTorrent protocol handling.
- The README names VLC and mplayer as applications that can consume mounted torrent files without changes.

### ソース

- Local git history from https://github.com/johang/btfs shows initial commit and v2.0 in 2015, then v3.0 and v3.1 in 2025.
- Official README describes mounting .torrent files or magnet links as read-only directories with on-demand downloads: https://raw.githubusercontent.com/johang/btfs/master/README.md
- Official README documents Debian/Ubuntu, Arch, Gentoo, Fedora, openSUSE, macOS/Homebrew, FUSE, libtorrent-rasterbar, and libcurl: https://raw.githubusercontent.com/johang/btfs/master/README.md
- Package-manager adoption from source_facts.package-manager.


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Debian apt - btfs - 2.24-1+b3: normalized package name match | Debian stable package indexes: btfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | access torrent files as a filesystem | https://github.com/johang/btfs
- Nix - btfs: normalized package name match | nixpkgs package indexes: pkgs/by-name/bt/btfs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - btfs - 2.24-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: btfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | access torrent files as a filesystem | https://github.com/johang/btfs
- apk - btfs - 2.24-r12: normalized package name match | Alpine Linux edge package indexes: btfs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bittorrent filesystem based on FUSE | https://github.com/johang/btfs
- apk - btfs-doc - 2.24-r12: normalized package name match | Alpine Linux edge package indexes: btfs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bittorrent filesystem based on FUSE (documentation) | https://github.com/johang/btfs
- pacman - btfs - 3.1-1: normalized package name match | Arch Linux sync databases: btfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A bittorrent filesystem based on FUSE | https://github.com/johang/btfs
- zypper - btfs - 3.1-3.4: normalized package name match | openSUSE Tumbleweed package metadata: btfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A BitTorrent file system based on FUSE | https://github.com/johang/btfs
- MacPorts - btfs: normalized package name match | MacPorts ports tree: fuse/btfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [curl](https://www.automicvault.com/ja/pkg/brew/curl/) - Runtime dependency declared by Homebrew.
- [libfuse](https://www.automicvault.com/ja/pkg/brew/libfuse/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/ja/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/ja/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/ja/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dwarfs](https://www.automicvault.com/ja/pkg/brew/dwarfs/) - Shares av.db curated category or tags: cli, filesystem, filesystems, fuse, system.
- [erofs-utils](https://www.automicvault.com/ja/pkg/brew/erofs-utils/) - Shares av.db curated category or tags: cli, filesystem, filesystems, fuse, system.
- [ext4fuse](https://www.automicvault.com/ja/pkg/brew/ext4fuse/) - Shares av.db curated category or tags: cli, filesystem, filesystems, fuse, system.
- [fuse-zip](https://www.automicvault.com/ja/pkg/brew/fuse-zip/) - Shares av.db curated category or tags: cli, filesystem, filesystems, fuse, system.
- [mp3fs](https://www.automicvault.com/ja/pkg/brew/mp3fs/) - Shares av.db curated category or tags: cli, filesystem, filesystems, fuse, system.
- [ntfs-3g](https://www.automicvault.com/ja/pkg/brew/ntfs-3g/) - Shares av.db curated category or tags: cli, filesystem, filesystems, fuse, system.
- [ratarmount](https://www.automicvault.com/ja/pkg/brew/ratarmount/) - Shares av.db curated category or tags: cli, filesystem, filesystems, fuse, system.
- [sshfs](https://www.automicvault.com/ja/pkg/brew/sshfs/) - Local package facts share a topical domain. Shared terms: based, cli, filesystem, filesystems, fuse.

## Combined YAML source

View the package source record on GitHub. [combined/btfs.yml](https://github.com/automic-vault/db/blob/main/combined/btfs.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
