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

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

## 安装

```sh
sudo av install brew:libcddb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libcddb
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libcddb
```

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

### Linux

- apk (92%):

```sh
sudo apk add libcddb
```

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

- Debian apt (92%):

```sh
sudo apt install libcddb2
```

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

- dnf (92%):

```sh
sudo dnf install libcddb
```

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

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

- pacman (92%):

```sh
sudo pacman -S libcddb
```

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

- zypper (92%):

```sh
sudo zypper install libcddb-devel
```

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

## 软件包事实

- **软件包键:** brew:libcddb
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libcddb>
- **版本:** 1.3.2
- **来源摘要:** CDDB server access library
- **主页:** <https://libcddb.sourceforge.net/>
- **仓库:** <https://sourceforge.net/p/libcddb/code>
- **上游文档:** <https://libcddb.sourceforge.net/>
- **许可证:** LGPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/libcddb/libcddb/1.3.2/libcddb-1.3.2.tar.bz2>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- cddb_query (cli)
- cddb_query (别名)

## 依赖

- libcdio

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.3.2
- 本地数据: OK
- 上游仓库: https://libcddb.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

libcddb is a small C library for applications that need to query, read, cache, and submit Compact Disc metadata through CDDB-compatible services. It belongs to the older Unix audio-CD stack: the layer that let rippers, players, and media utilities discover album and track names before embedded metadata and streaming catalogs became normal.

### 项目历史

The project was registered on SourceForge on 2002-10-20 and describes itself as a cross-platform C API for CDDBP and HTTP access to CDDB servers. Its own project site documents support for searching for possible CD matches, retrieving detailed entries, submitting new entries, HTTP tunneling, proxy use, and a built-in cache.

The visible project news shows a mature maintenance phase by the late 2000s: version 1.2.2 was announced on 2006-09-29, version 1.3.0 on 2006-10-15, a maintainer handoff was announced on 2007-07-14, and version 1.3.2 was announced on 2009-04-06.

### 采用历史

libcddb became useful because many Unix audio tools wanted CDDB lookups without embedding network protocol code. The libcdio manual explicitly points to libcddb as the CDDB library used by libcdio applications such as cd-info when album metadata is needed.

Package-manager adoption kept the library available long after the original CDDB/freedb era: the batch input lists packages for Homebrew, Debian and Ubuntu as libcddb2, Fedora and openSUSE, Arch, Alpine, MacPorts, Nix, and others.

### 使用方式

Typical use is as a link-time library behind a media player, CD ripper, or diagnostic tool. The package also ships cddb_query, a small command-line client useful for testing a disc ID query path without writing an application.

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

For package nerds, libcddb is a fossil from a specific layer of the desktop media stack: online audio-CD metadata before MusicBrainz, before ubiquitous tags, and before streaming catalogs. It also explains why old multimedia packages often have optional CDDB support toggles and why libcdio, cdparanoia, and CD ripping tools tended to accrete small companion libraries.

### 时间线

- 2002-10-20: libcddb project registered on SourceForge.
- 2006-09-29: libcddb 1.2.2 announced with a submission character-set fix.
- 2006-10-15: libcddb 1.3.0 announced with freedb2 album-command support.
- 2007-07-14: Project site announced Justin C. as new day-to-day maintainer.
- 2009-04-06: libcddb 1.3.2 announced with Haiku build support fixes.

### Related projects

- Related projects include libcdio, which can use libcddb for CDDB lookups in cd-info, freedb/GnuDB-style CD metadata services, older CD rippers and players, and libcdaudio-style libraries from the same audio-CD era.

### 来源

- <https://formulae.brew.sh/formula/libcddb>
- <https://libcddb.sourceforge.net/>
- <https://libcddb.sourceforge.net/download.html>
- <https://sourceforge.net/projects/libcddb/>
- <https://www.gnu.org/software/libcdio/libcdio.html>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libcddb
- **Version Scheme:** 0
- **Revision:** 4
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - libcddb2 - 1.3.2-7.1: normalized package name match | Debian stable package indexes: libcddb2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to access CDDB data - runtime files | http://libcddb.sourceforge.net
- Debian apt - libcddb2-dev - 1.3.2-7.1: normalized package name match | Debian stable package indexes: libcddb2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to access CDDB data - development files | http://libcddb.sourceforge.net
- Nix - libcddb: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libcddb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libcddb2 - 1.3.2-7fakesync1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcddb2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to access CDDB data - runtime files | http://libcddb.sourceforge.net
- Ubuntu apt - libcddb2-dev - 1.3.2-7fakesync1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcddb2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | library to access CDDB data - development files | http://libcddb.sourceforge.net
- apk - libcddb - 1.3.2-r8: normalized package name match | Alpine Linux edge package indexes: libcddb from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. https://gnudb.org). | https://sourceforge.net/projects/libcddb/
- apk - libcddb-dev - 1.3.2-r8: normalized package name match | Alpine Linux edge package indexes: libcddb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. https://gnudb.org). (development files) | https://sourceforge.net/projects/libcddb/
- dnf - libcddb - 1.3.2-47.fc44: normalized package name match | Fedora Rawhide package metadata: libcddb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Library (C API) for accessing CDDB servers | http://libcddb.sourceforge.net/
- dnf - libcddb-devel - 1.3.2-47.fc44: normalized package name match | Fedora Rawhide package metadata: libcddb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for libcddb | http://libcddb.sourceforge.net/
- pacman - libcddb - 1.3.2-9: normalized package name match | Arch Linux sync databases: libcddb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (https://gnudb.org) | https://sourceforge.net/projects/libcddb/
- zypper - libcddb-devel - 1.3.2-30.3: normalized package name match | openSUSE Tumbleweed package metadata: libcddb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CDDB Access Library | https://libcddb.sourceforge.net/
- zypper - libcddb2 - 1.3.2-30.3: normalized package name match | openSUSE Tumbleweed package metadata: libcddb2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CDDB Access Library | https://libcddb.sourceforge.net/
- zypper - libcddb2-32bit - 1.3.2-30.3: normalized package name match | openSUSE Tumbleweed package metadata: libcddb2-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CDDB Access Library | https://libcddb.sourceforge.net/
- MacPorts - libcddb: normalized package name match | MacPorts ports tree: devel/libcddb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libcdio](https://www.automicvault.com/zh-hans/pkg/brew/libcdio/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [qmmp](https://www.automicvault.com/zh-hans/pkg/brew/qmmp/) - Popular package that depends on this formula.
- [cd-discid](https://www.automicvault.com/zh-hans/pkg/brew/cd-discid/) - Shares av.db curated category or tags: cddb, cli, media, metadata.
- [exempi](https://www.automicvault.com/zh-hans/pkg/brew/exempi/) - Shares av.db curated category or tags: cli, library, media, metadata.
- [id3lib](https://www.automicvault.com/zh-hans/pkg/brew/id3lib/) - Shares av.db curated category or tags: cli, library, media, metadata.
- [libiptcdata](https://www.automicvault.com/zh-hans/pkg/brew/libiptcdata/) - Shares av.db curated category or tags: cli, library, media, metadata.
- [taglib](https://www.automicvault.com/zh-hans/pkg/brew/taglib/) - Shares av.db curated category or tags: cli, library, media, metadata.
- [avimetaedit](https://www.automicvault.com/zh-hans/pkg/brew/avimetaedit/) - Shares av.db curated category or tags: cli, media, metadata.
- [bwfmetaedit](https://www.automicvault.com/zh-hans/pkg/brew/bwfmetaedit/) - Shares av.db curated category or tags: cli, media, metadata.
- [cuetools](https://www.automicvault.com/zh-hans/pkg/brew/cuetools/) - Shares av.db curated category or tags: cli, media, metadata.
- [id3v2](https://www.automicvault.com/zh-hans/pkg/brew/id3v2/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, media, metadata.
- [fdk-aac](https://www.automicvault.com/zh-hans/pkg/brew/fdk-aac/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, library, media.

## Combined YAML source

View the package source record on GitHub. [combined/libcddb.yml](https://github.com/automic-vault/db/blob/main/combined/libcddb.yml)


## 来源

- 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
