# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, scoop 安装 fq

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

## 安装

```sh
sudo av install brew:fq
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fq
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fq
```

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

### Linux

- apk (92%):

```sh
sudo apk add fq
```

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

- Debian apt (92%):

```sh
sudo apt install fq
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#fq
```

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

- pacman (92%):

```sh
sudo pacman -S fq
```

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

- zypper (92%):

```sh
sudo zypper install fq
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/fq
```

  证据: Scoop official bucket manifest trees: bucket/fq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fq
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fq>
- **版本:** 0.13.12
- **来源摘要:** Brokered message queue optimized for performance
- **主页:** <https://github.com/circonus-labs/fq>
- **仓库:** <https://github.com/circonus-labs/fq>
- **许可证:** MIT
- **源码归档:** <https://github.com/circonus-labs/fq/archive/refs/tags/v0.13.12.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- fq-proxy (cli)
- fq-receiver (cli)
- fq-sender (cli)
- fq_rcvr (cli)
- fq_sndr (cli)
- fqc (cli)
- fqd (cli)
- fqs (cli)
- fqtool (cli)
- fq-proxy (别名)
- fq-receiver (别名)
- fq-sender (别名)
- fq_rcvr (别名)
- fq_sndr (别名)
- fqc (别名)
- fqd (别名)
- fqs (别名)
- fqtool (别名)

## 依赖

- concurrencykit
- jlog

## macOS 提供的库

- sqlite

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.13.12
- 本地数据: OK
- 上游仓库: https://github.com/circonus-labs/fq
- 检测到的最新版本: v0.13.12 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

fq is a brokered publish-subscribe message queue written around the fqd daemon. The official README describes it as performance-oriented and not designed, at least at the time of that text, for very large numbers of connected clients.

### 项目历史

The GitHub history for the official repository goes back to 2012, and the project later accumulated tagged releases including the 0.10, 0.11, 0.12, and 0.13 series. The current repository is under circonus-labs and is described by GitHub as a fast brokered C message queue that gets out of the way.

The design is built around fqd as broker, exchanges, route programs, queues, and paired TCP client connections. The README documents memory and disk queue types, block/drop policies, public/private queues, persistent or transient queues, HTTP status and submission endpoints, and a SQLite-backed fqd store for peer configuration.

### 采用历史

Official documentation lists multiple client surfaces: the C client library, Java client, Node.js package, Go client, and a submission-only HTTP /submit API. This suggests fq was intended for service integration rather than only manual CLI use.

### 使用方式

Operators run fqd as the broker, configure peers in its SQLite store, and connect clients using queue names, exchange names, route strings, and route programs. The protocol documentation specifies paired command/data TCP sockets, plain auth, bind/unbind/status commands, heartbeat handling, peer mode, and the message frame layout.

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

fq is package-interesting because it is a C broker with many installed tools, a custom binary protocol, optional HTTP superposition, and dependencies such as libuuid, sqlite3, jlog, and optional libbcd. It sits in the same packaging neighborhood as daemons and queue systems where build flags, service files, runtime directories, and client libraries matter.

### 时间线

- 2012: Earliest commit visible through the official GitHub API.
- 2017: v0.10.1 tag points to a January 2017 commit.
- 2019: v0.11.0 and v0.12.0 tags point to 2019 commits.
- 2020: v0.13.0 tag points to a January 2020 commit.
- 2024: v0.13.12 tag points to a December 2024 commit.
- 2025: The official repository was still receiving updates, with GitHub reporting a 2025 push date.

### Related projects

- The README names jlog as a required dependency and libbcd as an optional crash-tracing dependency. It also points to C, Java, Node.js, and Go clients, plus fqd as the broker process that clients and peers connect to.

### 来源

- <https://api.github.com/repos/circonus-labs/fq>
- <https://api.github.com/repos/circonus-labs/fq/commits?per_page=1&page=436>
- <https://api.github.com/repos/circonus-labs/fq/tags?per_page=30>
- <https://raw.githubusercontent.com/circonus-labs/fq/master/README.md>
- <https://raw.githubusercontent.com/circonus-labs/fq/master/docs/fq_protocol.md>


## 安全说明

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:** fq
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - fq - 0.9.0-2: normalized package name match | Debian stable package indexes: fq from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | jq for binary formats (program) | https://github.com/wader/fq
- Nix - fq: normalized package name match | nixpkgs package indexes: pkgs/by-name/fq/fq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fq - 0.9.0-2: normalized package name match | Ubuntu 24.04 LTS package indexes: fq from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | jq for binary formats (program) | https://github.com/wader/fq
- apk - fq - 0.17.0-r1: normalized package name match | Alpine Linux edge package indexes: fq from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Tool, language and decoders for inspecting binary data | https://github.com/wader/fq
- pacman - fq - 0.17.0-1: normalized package name match | Arch Linux sync databases: fq from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool, language and decoders for inspecting binary data | https://github.com/wader/fq
- zypper - fq - 0.17.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: fq from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI tool and REPL for working with binary data inspired by jq | https://github.com/wader/fq
- MacPorts - fq: normalized package name match | MacPorts ports tree: sysutils/fq/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/fq: normalized package name match | Scoop official bucket manifest trees: bucket/fq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [jlog](https://pkg.so/zh-hans/brew/jlog/) - Runtime dependency declared by Homebrew.
- [dexter](https://pkg.so/zh-hans/brew/dexter/) - Shares pkgdb curated category or tags: cli, data, performance.
- [nsq](https://pkg.so/zh-hans/brew/nsq/) - Shares pkgdb curated category or tags: cli, data, message-queue.
- [sqlite](https://pkg.so/zh-hans/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [protobuf](https://pkg.so/zh-hans/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data.
- [bzip2](https://pkg.so/zh-hans/brew/bzip2/) - Shares pkgdb curated category or tags: cli, data.
- [redis](https://pkg.so/zh-hans/brew/redis/) - Shares pkgdb curated category or tags: cli, data.
- [gdbm](https://pkg.so/zh-hans/brew/gdbm/) - Shares pkgdb curated category or tags: cli, data.
- [cql-proxy](https://pkg.so/zh-hans/brew/cql-proxy/) - Local package facts share a topical domain. Shared terms: cli, data, proxy.

## Combined YAML source

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


## 来源

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