# 使用 Homebrew, apk, chocolatey, apt, dnf, Nix, zypper, winget 安装 mp3gain

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

## 安装

```sh
sudo av install brew:mp3gain
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mp3gain
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mp3gain
```

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

- Debian apt (92%):

```sh
sudo apt install mp3gain
```

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

- dnf (92%):

```sh
sudo dnf install mp3gain
```

  证据: Fedora Rawhide package metadata: mp3gain from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mp3gain
```

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

- zypper (92%):

```sh
sudo zypper install mp3gain
```

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

### Windows

- Chocolatey (92%):

```sh
choco install mp3gain
```

  证据: Chocolatey community package catalog: mp3gain from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.102','registrychangesview'

- winget (92%):

```sh
winget install --id GlenSawyer.MP3Gain -e
```

  证据: Windows Package Manager source index: GlenSawyer.MP3Gain from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:mp3gain
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mp3gain>
- **版本:** 1.6.2
- **来源摘要:** Lossless mp3 normalizer with statistical analysis
- **主页:** <https://mp3gain.sourceforge.net/>
- **上游文档:** <https://mp3gain.sourceforge.net/>
- **许可证:** LGPL-2.1-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/mp3gain/mp3gain/1.6.2/mp3gain-1_6_2-src.zip>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mp3gain (cli)
- mp3gain (别名)

## 依赖

- mpg123

## 安装行为

- 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
- 管理器版本: 1.6.2
- 本地数据: OK
- 上游仓库: https://mp3gain.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

MP3Gain is Glen Sawyer's audio-normalization tool for MP3 files. The SourceForge project and wiki describe it as software that analyzes MP3 files and adjusts them losslessly to a target volume. Unlike simple peak normalization, it uses statistical loudness analysis intended to match how loud the file sounds to a human listener, then changes the MP3 data directly without decoding and re-encoding.

### 项目历史

That technical choice gave MP3Gain its durable niche: it makes volume changes available to players that do not understand ReplayGain tags, while avoiding the generational loss of re-encoding. The project page also distinguishes the original MP3Gain from similarly named software that normalizes inside a track by re-encoding, emphasizing that MP3Gain's own changes are reversible in the classic workflow.

### 使用方式

The ecosystem around MP3Gain became broader than the command-line engine. SourceForge lists it in audio analysis and audio mixer categories, carries long-running discussion and ticket activity, and points users toward related frontends such as QMP3Gain and easyMP3Gain. Homebrew packages it as a lossless MP3 normalizer with statistical analysis, while other package managers and Windows-oriented manifests preserve it for users who need batch loudness adjustment of existing MP3 libraries rather than a modern tag-only loudness workflow.

### 来源

- <https://formulae.brew.sh/formula/mp3gain>
- <https://mp3gain.sourceforge.net/>
- <https://sourceforge.net/p/mp3gain/wiki/Home/>
- <https://sourceforge.net/projects/mp3gain/>
- <https://sourceforge.net/u/snelg/profile/>


## 安全说明

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:** mp3gain
- **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

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

- Debian apt - mp3gain - 1.6.2-2+b1: normalized package name match | Debian stable package indexes: mp3gain from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lossless mp3 normalizer with statistical analysis | http://mp3gain.sourceforge.net/
- Nix - mp3gain: normalized package name match | nixpkgs package indexes: pkgs/by-name/mp/mp3gain/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mp3gain - 1.6.2-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mp3gain from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lossless mp3 normalizer with statistical analysis | http://mp3gain.sourceforge.net/
- apk - mp3gain - 1.6.2-r4: normalized package name match | Alpine Linux edge package indexes: mp3gain from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Analyze and adjust the volume of MP3 files | https://mp3gain.sourceforge.net/
- dnf - mp3gain - 1.6.2-18.fc45: normalized package name match | Fedora Rawhide package metadata: mp3gain from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Lossless MP3 volume adjustment tool | http://mp3gain.sourceforge.net/
- zypper - mp3gain - 1.6.2-3.8: normalized package name match | openSUSE Tumbleweed package metadata: mp3gain from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | MP3 Volume Normalizer based on Replay Gain | http://mp3gain.sourceforge.net/
- Chocolatey - mp3gain: normalized package name match | Chocolatey community package catalog: mp3gain from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='10.102','registrychangesview'
- winget - GlenSawyer.MP3Gain: normalized package name match | Windows Package Manager source index: GlenSawyer.MP3Gain from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [mpg123](https://pkg.so/zh-hans/brew/mpg123/) - Runtime dependency declared by Homebrew.
- [mp3splt](https://pkg.so/zh-hans/brew/mp3splt/) - Shares pkgdb curated category or tags: audio, cli, lossless, media, mp3.
- [mp3cat](https://pkg.so/zh-hans/brew/mp3cat/) - 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.
- [rsgain](https://pkg.so/zh-hans/brew/rsgain/) - Shares pkgdb curated category or tags: audio, cli, media, replaygain.
- [easy-tag](https://pkg.so/zh-hans/brew/easy-tag/) - Shares pkgdb curated category or tags: audio, cli, media, mp3.
- [abcde](https://pkg.so/zh-hans/brew/abcde/) - Shares pkgdb curated category or tags: audio, cli, media, mp3.
- [mp3info](https://pkg.so/zh-hans/brew/mp3info/) - Shares pkgdb curated category or tags: audio, cli, media, mp3.
- [ebook2cw](https://pkg.so/zh-hans/brew/ebook2cw/) - Shares pkgdb curated category or tags: audio, cli, media, mp3.

## Combined YAML source

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