# 使用 Homebrew, MacPorts, Nix 安装 mp3cat

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

## 安装

```sh
sudo av install brew:mp3cat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mp3cat
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mp3cat
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mp3cat
```

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

## 软件包事实

- **软件包键:** brew:mp3cat
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mp3cat>
- **版本:** 0.5
- **来源摘要:** Reads and writes mp3 files
- **主页:** <https://tomclegg.ca/mp3cat>
- **仓库:** <https://github.com/tomclegg/mp3cat>
- **上游文档:** <https://tomclegg.ca/mp3cat>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/tomclegg/mp3cat/archive/refs/tags/0.5.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mp3cat (cli)
- mp3dirclean (cli)
- mp3http (cli)
- mp3log (cli)
- mp3log-conf (cli)
- mp3stream-conf (cli)
- mp3cat (别名)
- mp3dirclean (别名)
- mp3http (别名)
- mp3log (别名)
- mp3log-conf (别名)
- mp3stream-conf (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

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

mp3cat is a small Unix-style MP3 stream utility distributed from Tom Clegg's site and GitHub repository. Its core behavior is deliberately narrow: it copies a byte stream while skipping everything except MP3 frames with valid headers, so it can clean concatenated or noisy input and write the remaining frames to standard output or to its own directory format.

### 项目历史

The distinctive feature is the "mp3dir" workflow. Instead of producing one file, mp3cat can append valid frames to current.mp3 and rotate timestamped segment files after a size threshold. The same format can be read like a following log: mp3cat waits at the end of current.mp3, notices rotations, and continues from the next file. The accompanying tools, including mp3log-conf and mp3stream-conf, place it in the same practical niche as daemontools-style audio logging and simple MP3 streaming.

### 使用方式

The project page says the software was written for Kootenay Cooperative Radio in Nelson, British Columbia, and presents a live-radio use case: record from a sound card into an mp3dir, clean old segments, and stream the directory to network clients. In package managers it is a niche command-line audio utility rather than a general editor or encoder; Homebrew describes it simply as a tool that reads and writes MP3 files.

### 来源

- <https://formulae.brew.sh/formula/mp3cat>
- <https://github.com/tomclegg/mp3cat>
- <https://tomclegg.ca/mp3cat>


## 安全说明

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

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

## 源数据库详情

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

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

- Nix - mp3cat: normalized package name match | nixpkgs package indexes: pkgs/by-name/mp/mp3cat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - mp3cat: normalized package name match | MacPorts ports tree: audio/mp3cat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [mp3gain](https://pkg.so/zh-hans/brew/mp3gain/) - Shares pkgdb curated category or tags: audio, cli, media, mp3, utilities.
- [mp3check](https://pkg.so/zh-hans/brew/mp3check/) - Shares pkgdb curated category or tags: audio, cli, media, mp3, utilities.
- [mp3splt](https://pkg.so/zh-hans/brew/mp3splt/) - Shares pkgdb curated category or tags: audio, cli, media, mp3, utilities.
- [snapcast](https://pkg.so/zh-hans/brew/snapcast/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [shairport-sync](https://pkg.so/zh-hans/brew/shairport-sync/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [easy-tag](https://pkg.so/zh-hans/brew/easy-tag/) - Shares pkgdb curated category or tags: audio, cli, media, mp3.
- [librespot](https://pkg.so/zh-hans/brew/librespot/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [abcde](https://pkg.so/zh-hans/brew/abcde/) - Shares pkgdb curated category or tags: audio, cli, media, mp3.
- [ncmdump](https://pkg.so/zh-hans/brew/ncmdump/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, files, media, mp3.

## Combined YAML source

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