# Install vorbisgain with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Add Replay Gain volume tags to Ogg Vorbis files. Version 0.37 via Homebrew; verified from local package data. Also installable with debian: sudo apt install vorbisgain.

## Install

```sh
sudo av install brew:vorbisgain
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install vorbisgain
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vorbisgain
```

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

### Linux

- apk (92%):

```sh
sudo apk add vorbisgain
```

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

- Debian apt (92%):

```sh
sudo apt install vorbisgain
```

  Evidence: Debian stable package indexes: vorbisgain from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install vorbisgain
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#vorbisgain
```

  Evidence: nixpkgs package indexes: pkgs/by-name/vo/vorbisgain/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install vorbisgain
```

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

## Package facts

- **Package key:** brew:vorbisgain
- **Package manager:** Homebrew
- **Version:** 0.37
- **Source summary:** Add Replay Gain volume tags to Ogg Vorbis files
- **Homepage:** <https://sjeng.org/vorbisgain.html>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- vorbisgain (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.37
## Project history and usage

VorbisGain is a command-line utility for calculating ReplayGain values for Ogg Vorbis files and storing the results as Vorbis comment tags. It targets perceived loudness normalization without rewriting the audio stream.

### Project history

VorbisGain came from the Ogg Vorbis and ReplayGain era, when listeners and music-library maintainers wanted album and track loudness consistency without destructive peak normalization. The project homepage describes it as a replacement for pre-encoding normalization: instead of changing samples, it analyzes perceived loudness and writes tags that compatible players can use at playback time.

The available public history is thin compared with core Xiph projects, but the tool's role is clear and stable: apply ReplayGain technology specifically to Ogg Vorbis files, add clipping-prevention hints, and rely on player support for the playback adjustment.

### Adoption history

VorbisGain became a small but durable distro package because it solved a common local-library problem for Ogg users. Debian's package description notes that the process is non-destructive and that many audio players in Debian supported reading the tags, including XMMS, Quod Libet, amaroK, Muine, and Rhythmbox.

### How it is used

The man page describes `vorbisgain` as calculating ReplayGain values for named Ogg Vorbis input files and writing the result back as tags. Common modes include album gain with `-a`, recursive processing with `-r`, skipping already tagged files with `-f`, display-only mode with `-d`, cleaning tags with `-c`, and converting older ReplayGain tags with `-C`.

Typical users run it over album directories after ripping or encoding to Vorbis, then let compatible players choose track-gain or album-gain playback. Non-supporting players still play the files because the audio data is unchanged.

### Why package nerds care

VorbisGain is package-nerd significant as a codec-specific metadata tool: it is not a general audio editor, but the exact utility you want when maintaining an old-school Ogg Vorbis collection with ReplayGain-aware players.

### Timeline

- 2001: ReplayGain emerged as a proposed loudness-normalization technique for formats including Ogg Vorbis.
- 2000s: VorbisGain circulated as the Ogg Vorbis-specific command-line scanner and tag writer.
- Current package era: Distribution packages continue to ship VorbisGain as a small utility for non-destructive ReplayGain tagging.

### Related projects

- ReplayGain is the loudness-normalization method VorbisGain implements.
- vorbis-tools, libvorbis, mp3gain, metaflac, foobar2000, and Quod Libet are adjacent tools or consumers in the same audio metadata ecosystem.

### Sources

- <https://linux.die.net/man/1/vorbisgain>
- <https://packages.debian.org/sid/sound/vorbisgain>
- <https://sjeng.org/vorbisgain.html>
- <https://wiki.hydrogenaudio.org/index.php/ReplayGain>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Other Package-Manager Records

- Debian apt - vorbisgain - 0.37-3: normalized package name match | Debian stable package indexes: vorbisgain from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | add Replay Gain volume tags to Ogg Vorbis files | https://sjeng.org/vorbisgain.html
- Nix - vorbisgain: normalized package name match | nixpkgs package indexes: pkgs/by-name/vo/vorbisgain/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - vorbisgain - 0.37-2.1: normalized package name match | Ubuntu 24.04 LTS package indexes: vorbisgain from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | add Replay Gain volume tags to Ogg Vorbis files | http://sjeng.org/vorbisgain.html
- apk - vorbisgain - 0.37-r1: normalized package name match | Alpine Linux edge package indexes: vorbisgain from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A utility that computes the ReplayGain values for Ogg Vorbis files | https://sjeng.org/vorbisgain.html
- apk - vorbisgain-doc - 0.37-r1: normalized package name match | Alpine Linux edge package indexes: vorbisgain-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A utility that computes the ReplayGain values for Ogg Vorbis files (documentation) | https://sjeng.org/vorbisgain.html
- dnf - vorbisgain - 0.37-13.fc45: normalized package name match | Fedora Rawhide package metadata: vorbisgain from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Adds tags to Ogg Vorbis files to adjust the volume | https://sjeng.org/vorbisgain.html
- zypper - vorbisgain - 0.37-3.10: normalized package name match | openSUSE Tumbleweed package metadata: vorbisgain from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Replay Gain calculator for Ogg Vorbis files | https://sjeng.org/vorbisgain.html
- MacPorts - vorbisgain: normalized package name match | MacPorts ports tree: audio/vorbisgain/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/vorbisgain.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vorbisgain.yml)


## Sources

- 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
