# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 vorbisgain

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vorbisgain
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vorbisgain
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

  证据: Fedora Rawhide package metadata: vorbisgain 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#vorbisgain
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:vorbisgain
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/vorbisgain>
- **版本:** 0.37
- **来源摘要:** Add Replay Gain volume tags to Ogg Vorbis files
- **主页:** <https://sjeng.org/vorbisgain.html>
- **上游文档:** <https://sjeng.org/vorbisgain.html>
- **许可证:** LGPL-2.1-only
- **源码归档:** <https://sjeng.org/ftp/vorbis/vorbisgain-0.37.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- vorbisgain (cli)
- vorbisgain (别名)

## 依赖

- libogg
- libvorbis

## 安装行为

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

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

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


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** vorbisgain
- **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 - 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [rsgain](https://pkg.so/zh-hans/brew/rsgain/) - Shares pkgdb curated category or tags: audio, cli, media, replaygain.
- [mp3gain](https://pkg.so/zh-hans/brew/mp3gain/) - Shares pkgdb curated category or tags: audio, cli, media, replaygain.
- [normalize](https://pkg.so/zh-hans/brew/normalize/) - Shares pkgdb curated category or tags: audio, cli, media, volume-normalization.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Shares pkgdb curated category or tags: audio, cli, media.
- [yt-dlp](https://pkg.so/zh-hans/brew/yt-dlp/) - Shares pkgdb curated category or tags: audio, cli, media.
- [mpg123](https://pkg.so/zh-hans/brew/mpg123/) - Shares pkgdb curated category or tags: audio, cli, media.
- [libsndfile](https://pkg.so/zh-hans/brew/libsndfile/) - Shares pkgdb curated category or tags: audio, cli, media.
- [flac](https://pkg.so/zh-hans/brew/flac/) - Shares pkgdb curated category or tags: audio, cli, media.
- [vorbis-tools](https://pkg.so/zh-hans/brew/vorbis-tools/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, libogg, libvorbis, media.
- [easy-tag](https://pkg.so/zh-hans/brew/easy-tag/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, libogg, libvorbis, media.

## Combined YAML source

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