# Install mp3gain with Homebrew, apk, chocolatey, apt, dnf, Nix, winget, zypper

Lossless mp3 normalizer with statistical analysis. Version 1.6.2 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mp3gain
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mp3gain
```

  Evidence: 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
```

  Evidence: 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
```

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

- Nix (92%):

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

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: mp3gain from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install mp3gain
```

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

- winget (92%):

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

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

## Package facts

- **Package key:** brew:mp3gain
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mp3gain>
- **Version:** 1.6.2
- **Source summary:** Lossless mp3 normalizer with statistical analysis
- **Homepage:** <https://mp3gain.sourceforge.net/>
- **Upstream docs:** <https://mp3gain.sourceforge.net/>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/mp3gain/mp3gain/1.6.2/mp3gain-1_6_2-src.zip>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mp3gain (cli)
- mp3gain (alias)

## Dependencies

- mpg123

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.6.2
- Local data: ok
- Upstream repository: https://mp3gain.sourceforge.net/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### How it is used

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.

### Sources

- <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/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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-17.fc44: normalized package name match | Fedora Rawhide package metadata: mp3gain from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Lossless MP3 volume adjustment tool | http://mp3gain.sourceforge.net/
- zypper - mp3gain - 1.6.2-3.6: normalized package name match | openSUSE Tumbleweed package metadata: mp3gain from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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='7.9764','inconsolata'
- winget - GlenSawyer.MP3Gain: normalized package name match | Windows Package Manager source index: GlenSawyer.MP3Gain from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [mpg123](https://www.automicvault.com/pkg/brew/mpg123/) - Runtime dependency declared by Homebrew.
- [mp3cat](https://www.automicvault.com/pkg/brew/mp3cat/) - Shares av.db curated category or tags: audio, cli, media, mp3, utilities.
- [mp3check](https://www.automicvault.com/pkg/brew/mp3check/) - Shares av.db curated category or tags: audio, cli, media, mp3, utilities.
- [mp3splt](https://www.automicvault.com/pkg/brew/mp3splt/) - Shares av.db curated category or tags: audio, cli, lossless, media, mp3.
- [abcde](https://www.automicvault.com/pkg/brew/abcde/) - Shares av.db curated category or tags: audio, cli, media, mp3.
- [clamz](https://www.automicvault.com/pkg/brew/clamz/) - Shares av.db curated category or tags: audio, cli, media, mp3.
- [easy-tag](https://www.automicvault.com/pkg/brew/easy-tag/) - Shares av.db curated category or tags: audio, cli, media, mp3.
- [ebook2cw](https://www.automicvault.com/pkg/brew/ebook2cw/) - Shares av.db curated category or tags: audio, cli, media, mp3.
- [id3lib](https://www.automicvault.com/pkg/brew/id3lib/) - Shares av.db curated category or tags: audio, cli, media, mp3.

## Combined YAML source

View the package source record on GitHub. [combined/mp3gain.yml](https://github.com/automic-vault/db/blob/main/combined/mp3gain.yml)


## Sources

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