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

Software library to decode tracked music files. Version 0.8.7 via Homebrew; verified 2026-05-17.

## Install

```sh
sudo av install brew:libopenmpt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libopenmpt
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libopenmpt
```

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

### Linux

- apk (92%):

```sh
sudo apk add libopenmpt
```

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

- Debian apt (92%):

```sh
sudo apt install libopenmpt-dev
```

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

- dnf (92%):

```sh
sudo dnf install libopenmpt
```

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

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

- pacman (92%):

```sh
sudo pacman -S libopenmpt
```

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

- zypper (92%):

```sh
sudo zypper install libopenmpt-devel
```

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

## Package facts

- **Package key:** brew:libopenmpt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libopenmpt>
- **Version:** 0.8.7
- **Source summary:** Software library to decode tracked music files
- **Homepage:** <https://lib.openmpt.org/libopenmpt/>
- **Repository:** <https://source.openmpt.org/browse/openmpt/trunk>
- **Upstream docs:** <https://lib.openmpt.org/libopenmpt>
- **License:** BSD-3-Clause
- **Source archive:** <https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.8.7+release.autotools.tar.gz>
- **Last updated:** 2026-05-17T19:11:41Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- openmpt123 (cli)
- openmpt123 (alias)

## Dependencies

- flac
- libogg
- libsndfile
- libvorbis
- mpg123
- portaudio

## Build dependencies

- pkgconf

## 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: 0.8.7
- Package-manager updated: 2026-05-17
- Local data: ok
- Upstream repository: https://lib.openmpt.org/libopenmpt/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

libopenmpt is a C++ and C library for decoding tracked music module files into raw PCM audio, plus the openmpt123 command-line player. It brings OpenMPT's module playback engine to Unix packages, media players, plugins, game tools, and language bindings.

### Project history

The project page says libopenmpt is based on the player code of OpenMPT, also known as Open ModPlug Tracker, and is developed in the same source repository to avoid code-base fragmentation. The first libopenmpt 0.2 beta release is dated 2013-12-31 in the official changelog.

The changelog shows rapid early work in 2014 and 2015 on Autotools packaging, Android and Emscripten builds, playback compatibility, C and C++ documentation, plugin support, and the openmpt123 command-line player. Later releases continued the pattern of format-loader fixes, security updates, build-system support, and compatibility with old tracker quirks.

### Adoption history

The OpenMPT wiki lists distribution packages for Alpine, Arch, Debian, Fedora, FreeBSD, Gentoo, Homebrew, MacPorts, MSYS2, NixOS, OpenBSD, Ubuntu, and other systems. That broad packaging reflects its role as the modern packaged decoder for tracker modules.

The same wiki lists software using libopenmpt across desktop players, plugins, media frameworks, streaming software, audio libraries, game engines, language bindings, websites, and games. Examples include Audacious, MPD, FFmpeg, GStreamer, Kodi-related plugins, SoLoud, and Sonic Robo Blast 2.

### How it is used

End users get openmpt123 for terminal playback of module files. Developers use the C or C++ APIs to decode formats such as MOD, XM, S3M, IT, and many more tracker-derived formats into PCM audio.

The library also provides a libmodplug compatibility layer, which helps projects migrate from older module-decoding APIs while using OpenMPT playback behavior.

### Why package nerds care

libopenmpt is significant because tracker music is a file-format archaeology problem: many formats came from different DOS, Amiga, Windows, game, and demoscene tools, and correct playback depends on preserving old quirks. Packaging one maintained decoder prevents every media player from relearning that history.

For package maintainers, it is also a useful example of a library that pairs a serious API with a small command-line tool, allowing both dependency use and quick terminal inspection or playback.

### Timeline

- 2013: Changelog records libopenmpt 0.2-beta1 as the first release on 2013-12-31.
- 2014: Changelog records Autotools tarballs, Emscripten work, plugin changes, and openmpt123 improvements across beta releases.
- 2015: Changelog records completed C and C++ documentation and additional platform/build support.
- 2016: Changelog records libopenmpt 0.2-beta17 with native MO3 support, dynamic-loading changes, and many playback fixes.
- 2025: Project news records libopenmpt 0.8.0 on 2025-05-31.
- 2026: Project news and changelog record libopenmpt 0.8.7 on 2026-05-17.

### Related projects

- OpenMPT, or Open ModPlug Tracker, is the source project whose player code underpins libopenmpt.
- libmodplug is an adjacent older module-decoding library; libopenmpt provides a compatibility layer for its interface.
- FFmpeg and GStreamer are major media-framework adopters listed by the OpenMPT wiki.
- XMPlay, Winamp, foobar2000, WACUP, and Kodi-related plugins represent the plugin ecosystem around module playback.

### Sources

- <https://formulae.brew.sh/formula/libopenmpt>
- <https://lib.openmpt.org/doc/changelog.html>
- <https://lib.openmpt.org/libopenmpt/>
- <https://source.openmpt.org/browse/openmpt/trunk>
- <https://wiki.openmpt.org/Libopenmpt>


## Security Notes

No matching local secret-handling manifest was found for libopenmpt. 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:** libopenmpt
- **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 - libopenmpt-dev - 0.7.13-1+b1: normalized package name match | Debian stable package indexes: libopenmpt-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | module music library based on OpenMPT -- development files | https://lib.openmpt.org/libopenmpt/
- Debian apt - libopenmpt-doc - 0.7.13-1: normalized package name match | Debian stable package indexes: libopenmpt-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | module music library based on OpenMPT -- documentation | https://lib.openmpt.org/libopenmpt/
- Debian apt - libopenmpt0t64 - 0.7.13-1+b1: normalized package name match | Debian stable package indexes: libopenmpt0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | module music library based on OpenMPT -- shared library | https://lib.openmpt.org/libopenmpt/
- Debian apt - openmpt123 - 0.7.13-1+b1: normalized package name match | Debian stable package indexes: openmpt123 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | module music library based on OpenMPT -- music player | https://lib.openmpt.org/libopenmpt/
- Nix - libopenmpt: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libopenmpt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libopenmpt-dev - 0.7.3-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libopenmpt-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | module music library based on OpenMPT -- development files | https://lib.openmpt.org/libopenmpt/
- Ubuntu apt - libopenmpt-doc - 0.7.3-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libopenmpt-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | module music library based on OpenMPT -- documentation | https://lib.openmpt.org/libopenmpt/
- Ubuntu apt - libopenmpt0t64 - 0.7.3-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libopenmpt0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | module music library based on OpenMPT -- shared library | https://lib.openmpt.org/libopenmpt/
- Ubuntu apt - openmpt123 - 0.7.3-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: openmpt123 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | module music library based on OpenMPT -- music player | https://lib.openmpt.org/libopenmpt/
- apk - libopenmpt - 0.8.7-r0: normalized package name match | Alpine Linux edge package indexes: libopenmpt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cross-platform library to render tracker music to a PCM audio stream | https://lib.openmpt.org/libopenmpt/
- apk - libopenmpt-dev - 0.8.7-r0: normalized package name match | Alpine Linux edge package indexes: libopenmpt-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cross-platform library to render tracker music to a PCM audio stream (development files) | https://lib.openmpt.org/libopenmpt/
- apk - openmpt123 - 0.8.7-r0: normalized package name match | Alpine Linux edge package indexes: openmpt123 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line module file player | https://lib.openmpt.org/libopenmpt/
- apk - openmpt123-doc - 0.8.7-r0: normalized package name match | Alpine Linux edge package indexes: openmpt123-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cross-platform library to render tracker music to a PCM audio stream (documentation) | https://lib.openmpt.org/libopenmpt/
- dnf - libopenmpt - 0.8.7-1.fc45: normalized package name match | Fedora Rawhide package metadata: libopenmpt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | C/C++ library to decode tracker music module (MOD) files | https://lib.openmpt.org/libopenmpt/
- dnf - libopenmpt-devel - 0.8.7-1.fc45: normalized package name match | Fedora Rawhide package metadata: libopenmpt-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for the libopenmpt library | https://lib.openmpt.org/libopenmpt/
- dnf - openmpt123 - 0.8.7-1.fc45: normalized package name match | Fedora Rawhide package metadata: openmpt123 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Command-line tracker music player based on libopenmpt | https://lib.openmpt.org/libopenmpt/


## 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.
- [Package ecosystem packages](https://www.automicvault.com/pkg/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [flac](https://www.automicvault.com/pkg/brew/flac/) - Runtime dependency declared by Homebrew.
- [libsndfile](https://www.automicvault.com/pkg/brew/libsndfile/) - Runtime dependency declared by Homebrew.
- [mpg123](https://www.automicvault.com/pkg/brew/mpg123/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [audacious](https://www.automicvault.com/pkg/brew/audacious/) - Popular package that depends on this formula.
- [musikcube](https://www.automicvault.com/pkg/brew/musikcube/) - Popular package that depends on this formula.
- [scummvm](https://www.automicvault.com/pkg/brew/scummvm/) - Popular package that depends on this formula.
- [madplay](https://www.automicvault.com/pkg/brew/madplay/) - Shares av.db curated category or tags: audio, cli, decoder, media.
- [mikmod](https://www.automicvault.com/pkg/brew/mikmod/) - Shares av.db curated category or tags: audio, cli, media, tracker-music.
- [xmp](https://www.automicvault.com/pkg/brew/xmp/) - Shares av.db curated category or tags: audio, cli, media, tracker-music.
- [abcde](https://www.automicvault.com/pkg/brew/abcde/) - Shares av.db curated category or tags: audio, cli, media.
- [adplay](https://www.automicvault.com/pkg/brew/adplay/) - Shares av.db curated category or tags: audio, cli, media.
- [adplug](https://www.automicvault.com/pkg/brew/adplug/) - Shares av.db curated category or tags: audio, cli, media.
- [aften](https://www.automicvault.com/pkg/brew/aften/) - Shares av.db curated category or tags: audio, cli, media.
- [alsa-lib](https://www.automicvault.com/pkg/brew/alsa-lib/) - Shares av.db curated category or tags: audio, cli, media.
- [ocp](https://www.automicvault.com/pkg/brew/ocp/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, flac, libogg, libvorbis.
- [mpd](https://www.automicvault.com/pkg/brew/mpd/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, flac, libogg, libsndfile.

## Combined YAML source

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