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

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libopenmpt
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libopenmpt
```

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

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

- dnf (92%):

```sh
sudo dnf install libopenmpt
```

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

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

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

- Debian apt (92%):

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

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

- zypper (92%):

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

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

## 软件包事实

- **软件包键:** brew:libopenmpt
- **软件包管理器:** Homebrew
- **版本:** 0.8.7
- **来源摘要:** Software library to decode tracked music files
- **主页:** <https://lib.openmpt.org/libopenmpt/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- openmpt123 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.8.7
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

没有找到 libopenmpt 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- 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-r1: 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-r1: 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-r1: 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-r1: 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-2.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | C/C++ library to decode tracker music module (MOD) files | https://lib.openmpt.org/libopenmpt/
- dnf - libopenmpt-devel - 0.8.7-2.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for the libopenmpt library | https://lib.openmpt.org/libopenmpt/
- dnf - openmpt123 - 0.8.7-2.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command-line tracker music player based on libopenmpt | https://lib.openmpt.org/libopenmpt/


## Combined YAML source

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


## 来源

- 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
