# Install mpg123 with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

MP3 player for Linux and UNIX. Version 1.33.6 via Homebrew; verified 2026-06-07.

## Install

```sh
sudo av install brew:mpg123
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mpg123
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mpg123
```

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

### Linux

- apk (92%):

```sh
sudo apk add mpg123
```

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

- Debian apt (92%):

```sh
sudo apt install libmpg123-0t64
```

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

- dnf (92%):

```sh
sudo dnf install mpg123
```

  Evidence: Fedora Rawhide package metadata: mpg123 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#mpg123
```

  Evidence: nixpkgs package indexes: mpg123 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S mpg123
```

  Evidence: Arch Linux sync databases: mpg123 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libmpg123-0
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/mpg123
```

  Evidence: Scoop official bucket manifest trees: bucket/mpg123.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:mpg123
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mpg123>
- **Version:** 1.33.6
- **Source summary:** MP3 player for Linux and UNIX
- **Homepage:** <https://www.mpg123.de/>
- **Repository:** <https://scm.orgis.org/mpg123>
- **Upstream docs:** <https://www.mpg123.de/>
- **License:** LGPL-2.1-only
- **Source archive:** <https://www.mpg123.de/download/mpg123-1.33.6.tar.bz2>
- **Last updated:** 2026-06-07T12:56:53Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mpg123 (cli)
- mpg123-id3dump (cli)
- mpg123-strip (cli)
- out123 (cli)
- mpg123 (alias)
- mpg123-id3dump (alias)
- mpg123-strip (alias)
- out123 (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.33.6
- Package-manager updated: 2026-06-07
- Local data: ok
- Upstream repository: https://www.mpg123.de/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

mpg123 is one of the long-lived Unix command-line MP3 players and MPEG audio decoders. The project traces its roots to Michael Hipp's work in the mid-1990s, beginning as an MP2 player in 1994 and gaining MP3 support in 1995. The project site describes it as a fast console MPEG Audio player and decoder library, with support for MPEG 1.0/2.0/2.5 layers 1, 2, and 3 and reusable decoding and output libraries.

### Project history

The package's role widened from a player binary into a library-oriented decoder stack. libmpg123 gave applications a reusable MP3 decoder, while the command-line tools remained useful for playback, decoding to files, scripting, and audio-output testing through programs such as mpg123 and out123. The project emphasizes portability across GNU/Linux, macOS, BSD systems, Solaris, AIX, HP-UX, IRIX, OS/2, Cygwin, and Windows, with runtime CPU-specific assembly optimizations on several architectures.

### How it is used

In package-manager terms, mpg123 occupies the small, durable niche of a lightweight MP3 playback and decoding utility. Its history also explains mpg321: mpg321 appeared as a free drop-in replacement during the period when old mpg123 releases were treated as non-free by some distributions. The revived mpg123 line moved under the LGPL-2.1 license and remained the canonical package for users who want the original tool and its library rather than the libmad-based clone.

### Sources

- <https://android.googlesource.com/platform/external/mpg123/+/83254c70354aec4976ff3d1ea3f4d2bd600da163/README>
- <https://formulae.brew.sh/formula/mpg123>
- <https://www.mpg123.de/>
- <https://www.mpg123.de/asterisk.shtml>


## Security Notes

No matching local secret-handling manifest was found for mpg123. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mpg123
- **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 - libmpg123-0t64 - 1.32.10-1+deb13u1: normalized package name match | Debian stable package indexes: libmpg123-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MPEG layer 1/2/3 audio decoder (shared library) | http://mpg123.org/
- Debian apt - libmpg123-dev - 1.32.10-1+deb13u1: normalized package name match | Debian stable package indexes: libmpg123-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MPEG layer 1/2/3 audio decoder (development files) | http://mpg123.org/
- Debian apt - libout123-0t64 - 1.32.10-1+deb13u1: normalized package name match | Debian stable package indexes: libout123-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MPEG layer 1/2/3 audio decoder (libout123 shared library) | http://mpg123.org/
- Debian apt - libsyn123-0t64 - 1.32.10-1+deb13u1: normalized package name match | Debian stable package indexes: libsyn123-0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MPEG layer 1/2/3 audio decoder (libsyn123 shared library) | http://mpg123.org/
- Debian apt - mpg123 - 1.32.10-1+deb13u1: normalized package name match | Debian stable package indexes: mpg123 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MPEG layer 1/2/3 audio player | http://mpg123.org/
- Nix - mpg123: normalized package name match | nixpkgs package indexes: mpg123 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libmpg123-0t64 - 1.32.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmpg123-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MPEG layer 1/2/3 audio decoder (shared library) | http://mpg123.org/
- Ubuntu apt - libmpg123-dev - 1.32.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmpg123-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MPEG layer 1/2/3 audio decoder (development files) | http://mpg123.org/
- Ubuntu apt - libout123-0t64 - 1.32.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libout123-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MPEG layer 1/2/3 audio decoder (libout123 shared library) | http://mpg123.org/
- Ubuntu apt - libsyn123-0t64 - 1.32.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsyn123-0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MPEG layer 1/2/3 audio decoder (libsyn123 shared library) | http://mpg123.org/
- Ubuntu apt - mpg123 - 1.32.5-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: mpg123 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MPEG layer 1/2/3 audio player | http://mpg123.org/
- apk - mpg123 - 1.33.6-r0: normalized package name match | Alpine Linux edge package indexes: mpg123 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Console-based MPEG Audio Player for Layers 1, 2 and 3 | https://www.mpg123.org/
- apk - mpg123-dev - 1.33.6-r0: normalized package name match | Alpine Linux edge package indexes: mpg123-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Console-based MPEG Audio Player for Layers 1, 2 and 3 (development files) | https://www.mpg123.org/
- apk - mpg123-doc - 1.33.6-r0: normalized package name match | Alpine Linux edge package indexes: mpg123-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Console-based MPEG Audio Player for Layers 1, 2 and 3 (documentation) | https://www.mpg123.org/
- apk - mpg123-libs - 1.33.6-r0: normalized package name match | Alpine Linux edge package indexes: mpg123-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Console-based MPEG Audio Player for Layers 1, 2 and 3 (libraries) | https://www.mpg123.org/
- dnf - mpg123 - 1.32.10-4.fc45: normalized package name match | Fedora Rawhide package metadata: mpg123 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 | https://mpg123.org


## Related links

- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [audacious](https://www.automicvault.com/pkg/brew/audacious/) - Popular package that depends on this formula.
- [easyrpg-player](https://www.automicvault.com/pkg/brew/easyrpg-player/) - Popular package that depends on this formula.
- [gstreamer](https://www.automicvault.com/pkg/brew/gstreamer/) - Popular package that depends on this formula.
- [libopenmpt](https://www.automicvault.com/pkg/brew/libopenmpt/) - Popular package that depends on this formula.
- [libsndfile](https://www.automicvault.com/pkg/brew/libsndfile/) - Popular package that depends on this formula.
- [mp3gain](https://www.automicvault.com/pkg/brew/mp3gain/) - Popular package that depends on this formula.
- [mpd](https://www.automicvault.com/pkg/brew/mpd/) - Popular package that depends on this formula.
- [musikcube](https://www.automicvault.com/pkg/brew/musikcube/) - Popular package that depends on this formula.
- [mpg321](https://www.automicvault.com/pkg/brew/mpg321/) - Package name indicates the same formula family.
- [arm-linux-gnueabihf-binutils](https://www.automicvault.com/pkg/brew/arm-linux-gnueabihf-binutils/) - Local package facts share a topical domain. Shared terms: linux, strip.

## Combined YAML source

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


## Sources

- Nucleus package database
- 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
