# 使用 Homebrew, apt 安装 mpg321

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

## 安装

```sh
sudo av install brew:mpg321
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mpg321
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mpg321
```

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

## 软件包事实

- **软件包键:** brew:mpg321
- **软件包管理器:** Homebrew
- **版本:** 0.3.2
- **来源摘要:** Command-line MP3 player
- **主页:** <https://mpg321.sourceforge.net/>
- **最后更新:** 2026-06-19T12:32:40-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mpg321 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mpg321 is a GPL command-line MP3 player created as a free replacement for mpg123. Its homepage credits Joe Drew as the person who conceived and wrote the project, notes that it uses code from Rob Leslie's MAD distribution, XMMS, and plaympeg from SMPEG, and lists Nanakos Chrysostomos as maintainer for the later SourceForge-hosted releases.

### 项目历史

The tool was designed to behave like mpg123 for front ends, scripts, and software that shell out to an MP3 decoder. That compatibility goal made it especially useful for package distributions and desktop front ends during the era when mpg123's licensing caused friction: mpg321 could play MP3 files, serve as a backend for other applications, and decode MP3 to WAV for CD-recording workflows while relying on the integer-only MAD decoder.

### 使用方式

Its package-manager niche is narrow but clear: a small mpg123-compatible player rather than a general multimedia framework. Debian and Homebrew package it under its own name, and Debian describes it as a clone intended to function as a drop-in replacement in many cases, with some mpg123 functionality left unimplemented.

### 来源

- <https://formulae.brew.sh/formula/mpg321>
- <https://linux.die.net/man/1/mpg321>
- <https://mpg321.sourceforge.net/>
- <https://packages.debian.org/sid/mpg321>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - mpg321 - 0.3.2-4: normalized package name match | Debian stable package indexes: mpg321 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple and lightweight command line MP3 player | https://mpg321.sourceforge.net
- Ubuntu apt - mpg321 - 0.3.2-3.3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mpg321 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple and lightweight command line MP3 player | http://mpg321.sourceforge.net


## Combined YAML source

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