GitHub

Installing mp3rgain

Every supported channel for the CLI (mp3rgain) and the desktop GUI (mp3rgui), with the matching uninstall command and a post-install verification step. Both ship x86_64 and ARM64 builds on every platform.

CLI or GUI?

They share the same processing pipeline, so the output is identical — pick by workflow:

Installing both is fine; they are separate packages on every registry and do not conflict.

CLI — mp3rgain

PlatformChannelInstallUninstall
macOSHomebrewbrew install M-Igashi/tap/mp3rgainbrew uninstall mp3rgain
macOSMacPortssudo port install mp3rgainsudo port uninstall mp3rgain
Windowswingetwinget install M-Igashi.mp3rgainwinget uninstall M-Igashi.mp3rgain
Arch LinuxAURyay -S mp3rgain-binsudo pacman -Rns mp3rgain-bin
Ubuntu 25.10+PPAsudo add-apt-repository ppa:m-igashi/mp3rgain
sudo apt install mp3rgain
sudo apt remove mp3rgain
Debian.debsudo apt install ./mp3rgain_*_amd64.debsudo apt remove mp3rgain
NixOSNixnix profile install github:M-Igashi/mp3rgainnix profile remove mp3rgain
AnyDockerdocker pull ghcr.io/m-igashi/mp3rgain:latestdocker rmi ghcr.io/m-igashi/mp3rgain
AnyCargocargo install mp3rgaincargo uninstall mp3rgain

Pre-built binaries for platforms without a package (including macOS .dmg and Debian .deb for ARM64) are attached to every GitHub release.

GUI — mp3rgui

PlatformChannelInstallUninstall
macOSHomebrew Caskbrew install --cask M-Igashi/tap/mp3rguibrew uninstall --cask mp3rgui
Windowswingetwinget install M-Igashi.mp3rguiwinget uninstall M-Igashi.mp3rgui
Arch LinuxAURyay -S mp3rguisudo pacman -Rns mp3rgui
Ubuntu 25.10+PPAsudo add-apt-repository ppa:m-igashi/mp3rgui
sudo apt install mp3rgui
sudo apt remove mp3rgui
Debian / Ubuntu.debsudo apt install ./mp3rgui_*_amd64.debsudo apt remove mp3rgui

The Linux GUI packages require GTK 3 and a reasonably current distribution (Ubuntu 24.04+ / Debian trixie+).

Verify the install

Confirm the binary runs and reports the version you expect before pointing it at a library:

mp3rgain -v
# mp3rgain version 3.1.0

mp3rgain song.mp3        # read-only: prints file info, changes nothing

Running mp3rgain with a file and no flags never writes — it is the safest way to check that decoding works on your files. Add -n to preview any real operation.

Release artifact checksums

Every release asset has a matching .sha256 file. To verify a manual download:

curl -sLO https://github.com/M-Igashi/mp3rgain/releases/download/v3.1.0/mp3rgain-v3.1.0-windows-x86_64.zip
curl -sL  https://github.com/M-Igashi/mp3rgain/releases/download/v3.1.0/mp3rgain-v3.1.0-windows-x86_64.zip.sha256
sha256sum mp3rgain-v3.1.0-windows-x86_64.zip   # compare the two

Docker

Multi-arch images (linux/amd64, linux/arm64) are published to GHCR. The image is FROM scratch around a static musl binary — roughly 2 MB, no shell, no runtime dependencies. The binary is the entrypoint, so every CLI flag works unchanged:

docker run --rm \
  --user "$(id -u):$(id -g)" \
  -v /path/to/music:/music \
  ghcr.io/m-igashi/mp3rgain:latest -r -R /music

Passing --user keeps written files owned by you rather than root. Available tags: latest, v3.1.0, and v3 (floating major).

Troubleshooting

Windows Defender flags mp3rgui.exe

Defender's cloud/ML heuristics occasionally flag the GUI binary. This is a false positive: the binaries are built in public GitHub Actions runners from the tagged source, and the build logs are open. If you hit it, the release assets can be checked against VirusTotal or reported to Microsoft as a false detection. Details are in the project README.

"-r and -a require the replaygain feature"

Only affects cargo install builds where default features were disabled. Reinstall with the feature enabled:

cargo install mp3rgain --features replaygain

Every pre-built package (Homebrew, winget, AUR, PPA, Docker, …) already includes it.

Ubuntu LTS: "package has no installation candidate"

The PPA targets Ubuntu 25.10 (questing) and newer, because mp3rgain's dependencies require Rust 1.85 while Ubuntu 24.04 LTS ships Rust 1.75. On an LTS release, use the .deb from GitHub Releases, the Docker image, or cargo install.

Next