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

Audio metadata library. Version 2.3 via Homebrew; verified 2026-07-04.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install taglib
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install taglib
```

  Evidence: 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 libtag
```

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

- Debian apt (92%):

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

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

- dnf (92%):

```sh
sudo dnf install mingw32-taglib
```

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

  Evidence: 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
```

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

- Ubuntu apt (92%):

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

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

- zypper (92%):

```sh
sudo zypper install libtag-devel
```

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

## Package facts

- **Package key:** brew:taglib
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/taglib>
- **Version:** 2.3
- **Source summary:** Audio metadata library
- **Homepage:** <https://taglib.org/>
- **Repository:** <https://github.com/taglib/taglib>
- **Upstream docs:** <https://taglib.org/>
- **License:** LGPL-2.1-only OR MPL-1.1
- **Source archive:** <https://taglib.org/releases/taglib-2.3.tar.gz>
- **Last updated:** 2026-07-04T13:13:44+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- taglib-config (cli)
- taglib-config (alias)

## Dependencies

- utf8cpp

## Build dependencies

- cmake

## 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: 2.3
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://taglib.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for taglib. 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:** taglib
- **Aliases:** libtag
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

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


## 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.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [castget](https://www.automicvault.com/pkg/brew/castget/) - Popular package that depends on this formula.
- [easy-tag](https://www.automicvault.com/pkg/brew/easy-tag/) - Popular package that depends on this formula.
- [ezstream](https://www.automicvault.com/pkg/brew/ezstream/) - Popular package that depends on this formula.
- [gstreamer](https://www.automicvault.com/pkg/brew/gstreamer/) - Popular package that depends on this formula.
- [kew](https://www.automicvault.com/pkg/brew/kew/) - Popular package that depends on this formula.
- [mp3unicode](https://www.automicvault.com/pkg/brew/mp3unicode/) - Popular package that depends on this formula.
- [musikcube](https://www.automicvault.com/pkg/brew/musikcube/) - Popular package that depends on this formula.
- [navidrome](https://www.automicvault.com/pkg/brew/navidrome/) - Popular package that depends on this formula.
- [id3lib](https://www.automicvault.com/pkg/brew/id3lib/) - Shares av.db curated category or tags: audio, cli, id3, library, media.
- [id3v2](https://www.automicvault.com/pkg/brew/id3v2/) - Shares av.db curated category or tags: audio, cli, id3, media, metadata.
- [mp3info](https://www.automicvault.com/pkg/brew/mp3info/) - Shares av.db curated category or tags: audio, cli, id3, media, metadata.
- [rsgain](https://www.automicvault.com/pkg/brew/rsgain/) - Shares av.db curated category or tags: audio, cli, media, metadata.
- [abcde](https://www.automicvault.com/pkg/brew/abcde/) - Shares av.db curated category or tags: audio, cli, flac, media, mp3.
- [flac](https://www.automicvault.com/pkg/brew/flac/) - Shares av.db curated category or tags: audio, cli, flac, media, metadata.

## Combined YAML source

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