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

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

## 安装

```sh
sudo av install brew:fstrm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fstrm
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fstrm
```

  证据: MacPorts ports tree: devel/fstrm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fstrm
```

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

- dnf (92%):

```sh
sudo dnf install fstrm
```

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

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

- pacman (92%):

```sh
sudo pacman -S fstrm
```

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

- zypper (92%):

```sh
sudo zypper install fstrm
```

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

- Debian apt (92%):

```sh
sudo apt install fstrm-bin
```

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

## 软件包事实

- **软件包键:** brew:fstrm
- **软件包管理器:** Homebrew
- **版本:** 0.6.1
- **来源摘要:** Frame Streams implementation in C
- **主页:** <https://github.com/farsightsec/fstrm>
- **仓库:** <https://github.com/farsightsec/fstrm>
- **最后更新:** 2026-06-19T12:30:41-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fstrm_capture (别名)
- fstrm_dump (别名)
- fstrm_replay (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

fstrm is Farsight Security's C implementation of the Frame Streams data transport protocol, with a library and small reference programs.

### 项目历史

The repository was created in 2014. The README describes Frame Streams as a lightweight, binary-clean framing protocol for sequences of encoded payloads, usable over reliable byte streams and as a file format.

The upstream ChangeLog records fstrm 0.1.0 as the initial release in February 2014, followed by 0.2.0 in November 2014 with API and protocol changes, Doxygen documentation, and the fstrm_capture utility.

### 采用历史

fstrm was originally written to support high-speed binary logging in C DNS servers using the dnstap log format. The supplied package data shows broad packaging across Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE families.

### 使用方式

Developers include fstrm.h, compile with pkg-config --cflags libfstrm, and link with pkg-config --libs libfstrm. The library provides APIs for a dedicated Frame Streams I/O thread and asynchronous frame submission from worker threads.

The package also ships fstrm_capture, fstrm_dump, and fstrm_replay. Later ChangeLog entries added TCP support, replay support, capture options, output rotation, and portability fixes.

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

fstrm is a package-nerd package because it is infrastructure glue: small, C, ABI-conscious, and important to DNS telemetry stacks even though end users rarely invoke it directly. Its pkg-config workflow and reference tools make it easy for distributions to package and for C projects to consume.

### 时间线

- 2014: Public GitHub repository created.
- 2014: fstrm 0.1.0 initial release.
- 2014: fstrm 0.2.0 added Doxygen documentation and fstrm_capture.
- 2016: fstrm 0.3.0 added OS X build support and output flush/rotation fixes.
- 2017: fstrm 0.4.0 added fstrm_replay, TCP support, and manual pages for reference programs.

### Related projects

- The README names dnstap as the logging format that motivated fstrm.
- Frame Streams is designed to carry arbitrary encodings such as Protocol Buffers, XML, JSON, MessagePack, and YAML.

### 来源

- <https://api.github.com/repos/farsightsec/fstrm>
- <https://farsightsec.github.io/fstrm>
- <https://github.com/farsightsec/fstrm>
- <https://raw.githubusercontent.com/farsightsec/fstrm/master/ChangeLog>
- <https://raw.githubusercontent.com/farsightsec/fstrm/master/README.md>


## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

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

- Debian apt - fstrm-bin - 0.6.1-1+b3: normalized package name match | Debian stable package indexes: fstrm-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Frame Streams (fstrm) library (utilities) | https://github.com/farsightsec/fstrm
- Debian apt - libfstrm-dev - 0.6.1-1+b3: normalized package name match | Debian stable package indexes: libfstrm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Frame Streams (fstrm) library (development files) | https://github.com/farsightsec/fstrm
- Debian apt - libfstrm0 - 0.6.1-1+b3: normalized package name match | Debian stable package indexes: libfstrm0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Frame Streams (fstrm) library | https://github.com/farsightsec/fstrm
- Nix - fstrm: normalized package name match | nixpkgs package indexes: pkgs/by-name/fs/fstrm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fstrm-bin - 0.6.1-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: fstrm-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Frame Streams (fstrm) library (utilities) | https://github.com/farsightsec/fstrm
- Ubuntu apt - libfstrm-dev - 0.6.1-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libfstrm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Frame Streams (fstrm) library (development files) | https://github.com/farsightsec/fstrm
- Ubuntu apt - libfstrm0 - 0.6.1-1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libfstrm0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Frame Streams (fstrm) library | https://github.com/farsightsec/fstrm
- apk - fstrm - 0.6.1-r4: normalized package name match | Alpine Linux edge package indexes: fstrm from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Frame Streams implementation in C | https://github.com/farsightsec/fstrm
- apk - fstrm-dev - 0.6.1-r4: normalized package name match | Alpine Linux edge package indexes: fstrm-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Frame Streams implementation in C (development files) | https://github.com/farsightsec/fstrm
- apk - fstrm-doc - 0.6.1-r4: normalized package name match | Alpine Linux edge package indexes: fstrm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Frame Streams implementation in C (documentation) | https://github.com/farsightsec/fstrm
- apk - fstrm-static - 0.6.1-r4: normalized package name match | Alpine Linux edge package indexes: fstrm-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Frame Streams implementation in C (static library) | https://github.com/farsightsec/fstrm
- apk - fstrm-utils - 0.6.1-r4: normalized package name match | Alpine Linux edge package indexes: fstrm-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | fstrm utilities | https://github.com/farsightsec/fstrm
- dnf - fstrm - 0.6.1-15.fc45: normalized package name match | Fedora Rawhide package metadata: fstrm from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Frame Streams implementation in C | https://github.com/farsightsec/fstrm
- dnf - fstrm-devel - 0.6.1-15.fc45: normalized package name match | Fedora Rawhide package metadata: fstrm-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development Files for fstrm library | https://github.com/farsightsec/fstrm
- dnf - fstrm-doc - 0.6.1-15.fc45: normalized package name match | Fedora Rawhide package metadata: fstrm-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | API documentation for fstrm library | https://github.com/farsightsec/fstrm
- dnf - fstrm-utils - 0.6.1-15.fc45: normalized package name match | Fedora Rawhide package metadata: fstrm-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Frame Streams (fstrm) utilities | https://github.com/farsightsec/fstrm


## Combined YAML source

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