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

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

## 安装

```sh
sudo av install brew:taglib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install taglib
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install taglib
```

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

### Linux

- apk (92%):

```sh
sudo apk add taglib
```

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

- dnf (92%):

```sh
sudo dnf install taglib
```

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

  证据: nixpkgs package indexes: pkgs/by-name/ta/taglib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S taglib
```

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

- zypper (92%):

```sh
sudo zypper install taglib
```

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

- Debian apt (92%):

```sh
sudo apt install libtag-c-dev
```

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

- Ubuntu apt (92%):

```sh
sudo apt install libtag1-dev
```

  证据: Ubuntu 24.04 LTS package indexes: libtag1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:taglib
- **软件包管理器:** Homebrew
- **版本:** 2.3.1
- **来源摘要:** Audio metadata library
- **主页:** <https://taglib.org/>
- **仓库:** <https://github.com/taglib/taglib>
- **最后更新:** 2026-07-20T07:41:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- taglib-config (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

TagLib is a long-lived C++ audio metadata library used for reading and editing tags across common music formats. Its package-manager footprint is broad because many desktop, media-library, and audio-tool packages need a small native library for ID3, Vorbis comments, MP4 metadata, FLAC metadata, and related tag formats.

### 项目历史

The official site describes TagLib as a library for reading and editing metadata in popular audio formats, with support for containers including ID3v1, ID3v2, Vorbis comments, MP4, Ogg, Opus, FLAC, Speex, APE, MPC, WavPack, WAV, AIFF, TrueAudio, Matroska, WebM, ASF, WMA, DSF, DFF, and tracker files. The project publishes API documentation and release archives from taglib.org, with source development now on GitHub.

### 采用历史

TagLib's adoption comes from its role as a reusable native dependency rather than an end-user CLI. The input package facts list packages in Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, Nix, MacPorts, and openSUSE ecosystems, reflecting the library's use as a system dependency for media applications and audio tooling.

### 使用方式

Developers usually consume TagLib through headers, the C++ API, C bindings, CMake/pkg-config integration, and the `taglib-config` helper shipped by some packages. The API documentation emphasizes a basic tag interface for common fields, a property-map abstraction for textual metadata, complex properties such as pictures, and format-specific APIs when full control is needed.

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

Package nerds care about TagLib because it is infrastructure: when it changes ABI, compiler baseline, metadata-format coverage, or CMake exports, downstream media packages notice. The 2.0 release moved to C++17, made a binary-incompatible major-version break, expanded C bindings and complex-property support, and improved CMake `find_package(TagLib)` integration.

### 时间线

- 2011: GitHub repository created for the project source.
- 2023: TagLib 1.13.1 released with parsing fixes and build-system improvements.
- 2024: TagLib 2.0 released as a binary-incompatible major version requiring C++17.
- 2025: TagLib 2.1 released with Shorten support and compile-time format configuration.
- 2026: TagLib 2.2 released with Matroska and WebM support.

### Related projects

- TagLib relates to ID3, Vorbis comments, FLAC, MP4 metadata, MusicBrainz-style tagging workflows, media players, tag editors, CMake, pkg-config, and distro packaging.

### 来源

- <https://api.github.com/repos/taglib/taglib>
- <https://github.com/taglib/taglib>
- <https://github.com/taglib/taglib/releases>
- <https://taglib.org/>
- <https://taglib.org/api/>
- source_facts.package-manager


## 安全说明

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


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

- Debian apt - libtag-c-dev - 2.0.2-2: normalized package name match | Debian stable package indexes: libtag-c-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | audio meta-data library - development files for C bindings | https://taglib.org/
- Debian apt - libtag-c2 - 2.0.2-2: normalized package name match | Debian stable package indexes: libtag-c2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | audio meta-data library - C bindings | https://taglib.org/
- Debian apt - libtag-dev - 2.0.2-2: normalized package name match | Debian stable package indexes: libtag-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | audio meta-data library - development files | https://taglib.org/
- Debian apt - libtag-doc - 2.0.2-2: normalized package name match | Debian stable package indexes: libtag-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | audio meta-data library - API documentation | https://taglib.org/
- Debian apt - libtag1-dev - 2.0.2-2: normalized package name match | Debian stable package indexes: libtag1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional dummy package | https://taglib.org/
- Debian apt - libtag2 - 2.0.2-2: normalized package name match | Debian stable package indexes: libtag2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | audio meta-data library | https://taglib.org/
- Debian apt - libtagc0-dev - 2.0.2-2: normalized package name match | Debian stable package indexes: libtagc0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional dummy package | https://taglib.org/
- Nix - taglib: normalized package name match | nixpkgs package indexes: pkgs/by-name/ta/taglib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libtag1-dev - 1.13.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtag1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | audio meta-data library - development files | https://taglib.github.io/
- Ubuntu apt - libtag1-doc - 1.13.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtag1-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | audio meta-data library - API documentation | https://taglib.github.io/
- Ubuntu apt - libtag1v5 - 1.13.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtag1v5 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | audio meta-data library | https://taglib.github.io/
- Ubuntu apt - libtag1v5-vanilla - 1.13.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtag1v5-vanilla from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | audio meta-data library - vanilla flavour | https://taglib.github.io/
- Ubuntu apt - libtagc0 - 1.13.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtagc0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | audio meta-data library - C bindings | https://taglib.github.io/
- Ubuntu apt - libtagc0-dev - 1.13.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libtagc0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | audio meta-data library - development files for C bindings | https://taglib.github.io/
- apk - libtag - 2.2.1-r0: normalized package name match | Alpine Linux edge package indexes: libtag from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for reading and editing metadata of several popular audio formats (libtag lib) | https://taglib.github.io/
- apk - libtag_c - 2.2.1-r0: normalized package name match | Alpine Linux edge package indexes: libtag_c from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for reading and editing metadata of several popular audio formats (libtag_c lib) | https://taglib.github.io/


## Combined YAML source

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