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

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

## 安装

```sh
sudo av install brew:id3lib
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install id3lib
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install id3lib
```

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

### Linux

- apk (92%):

```sh
sudo apk add id3lib
```

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

- dnf (92%):

```sh
sudo dnf install id3lib
```

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

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

- pacman (92%):

```sh
sudo pacman -S id3lib
```

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

- zypper (92%):

```sh
sudo zypper install id3lib-devel
```

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

## 软件包事实

- **软件包键:** brew:id3lib
- **软件包管理器:** Homebrew
- **版本:** 3.8.3
- **来源摘要:** ID3 tag manipulation
- **主页:** <https://id3lib.sourceforge.net/>
- **最后更新:** 2026-06-19T12:31:21-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- id3convert (别名)
- id3cp (别名)
- id3info (别名)
- id3tag (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

id3lib is a C and C++ library for reading, writing, and manipulating ID3v1 and ID3v2 metadata in MP3 files. Its package significance comes from being an old, widely packaged ID3v2 implementation with small command-line utilities and a long tail of audio-tagging dependents.

### 项目历史

The project homepage describes id3lib as an open-source, cross-platform library focused on ID3v2 compliance, portability, and a stable API. It also credits Dirk Mahoney as the original ID3Lib author and notes that releases up through 3.05a were public-domain and no longer maintained.

The SourceForge project was registered on 1999-12-28 and hosted the development center: downloads, mailing lists, bugs, patches, and CVS. A SourceForge mailing-list post from 2000 describes the Unix-oriented branch, LGPL relicensing, and the shift away from a MusicMatch-controlled line into the SourceForge project.

### 采用历史

id3lib was adopted by desktop and command-line audio tools that needed ID3v1 and ID3v2 handling before newer libraries became common. The project homepage listed users such as EasyTAG, GNOMAD, the id3v2 command-line editor, and other MP3 organizers and taggers.

Package managers kept id3lib available because old media tools continued to build against it. Homebrew, Debian-family packages, Arch, MacPorts, Nix, and other ecosystems expose either the library, its tools, or both.

### 使用方式

Developers used id3lib through C++ APIs such as ID3_Tag to parse an audio file, inspect frames, edit fields, and write changes back. The packaged tools id3info, id3tag, id3convert, and id3cp provide quick shell access to common metadata operations.

The library's age is part of its maintenance profile. Project pages and downstream comments point to ID3v2.3-era behavior and limited ID3v2.4 support, so package users often keep it for compatibility rather than for newer tagging features.

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

id3lib is the kind of dependency that survives because old audio programs and scripts still expect it. It is small, C/C++-based, autotools-era, and often patched downstream to keep compiling on newer toolchains.

It also marks a transition point in open-source audio metadata tooling: ID3v2 support moved from scattered application code toward reusable libraries, then later toward alternatives such as TagLib.

### 时间线

- Pre-3.05a: Dirk Mahoney's ID3Lib releases were public-domain according to the project homepage.
- 1999-12-28: The SourceForge id3lib project was registered.
- 2000-04-06: A project mailing-list post described LGPL relicensing and a Unix-friendly SourceForge branch.
- 2001-09-08: The published Doxygen API documentation was generated for id3lib 3.8.0pre2.
- 3.8.3: The project homepage listed 3.8.3 as the release version.

### Related projects

- id3v2 is a command-line editor built on id3lib. EasyTAG and other audio taggers used id3lib for MP3 metadata. TagLib became a common successor recommendation for projects needing broader or more maintained audio tag support.
- The package sits near other MP3-era metadata tools such as libid3tag, eyeD3, kid3, and mutagen, but id3lib's C++ API and bundled utilities gave it a distinct packaging footprint.

### 来源

- <https://id3lib.sourceforge.net/>
- <https://id3lib.sourceforge.net/api/index.html>
- <https://sourceforge.net/p/id3lib/mailman/message/3316238/>
- <https://sourceforge.net/projects/id3lib/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - id3lib: normalized package name match | nixpkgs package indexes: pkgs/by-name/id/id3lib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - id3lib - 3.8.3-r3: normalized package name match | Alpine Linux edge package indexes: id3lib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | library for reading, writing, and manipulating ID3v1 and ID3v2 tags | https://id3lib.sourceforge.net/
- apk - id3lib-dev - 3.8.3-r3: normalized package name match | Alpine Linux edge package indexes: id3lib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | library for reading, writing, and manipulating ID3v1 and ID3v2 tags (development files) | https://id3lib.sourceforge.net/
- apk - id3lib-libs - 3.8.3-r3: normalized package name match | Alpine Linux edge package indexes: id3lib-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | library for reading, writing, and manipulating ID3v1 and ID3v2 tags (libraries) | https://id3lib.sourceforge.net/
- apk - id3lib-static - 3.8.3-r3: normalized package name match | Alpine Linux edge package indexes: id3lib-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Static libraries for id3lib | https://id3lib.sourceforge.net/
- dnf - id3lib - 3.8.3-63.fc45: normalized package name match | Fedora Rawhide package metadata: id3lib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library for manipulating ID3v1 and ID3v2 tags | http://id3lib.sourceforge.net/
- dnf - id3lib-devel - 3.8.3-63.fc45: normalized package name match | Fedora Rawhide package metadata: id3lib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development tools for the id3lib library | http://id3lib.sourceforge.net/
- pacman - id3lib - 3.8.3-20: normalized package name match | Arch Linux sync databases: id3lib from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library for reading, writing, and manipulating ID3v1 and ID3v2 tags | http://id3lib.sourceforge.net/
- zypper - id3lib-devel - 3.8.3-271.5: normalized package name match | openSUSE Tumbleweed package metadata: id3lib-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation and Headers for id3lib | http://id3lib.sourceforge.net/
- zypper - id3lib-examples - 3.8.3-271.5: normalized package name match | openSUSE Tumbleweed package metadata: id3lib-examples from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Example Applications for the id3lib Library | http://id3lib.sourceforge.net/
- zypper - libid3-3_8-3 - 3.8.3-271.5: normalized package name match | openSUSE Tumbleweed package metadata: libid3-3_8-3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Library for Manipulating ID3v1 and ID3v2 tags | http://id3lib.sourceforge.net/
- MacPorts - id3lib: normalized package name match | MacPorts ports tree: audio/id3lib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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