# 使用 Homebrew, Nix, pacman 安装 libilbc

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

## 安装

```sh
sudo av install brew:libilbc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libilbc
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#libilbc
```

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

- pacman (92%):

```sh
sudo pacman -S libilbc
```

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

## 软件包事实

- **软件包键:** brew:libilbc
- **软件包管理器:** Homebrew
- **版本:** 3.0.4
- **来源摘要:** Packaged version of iLBC codec from the WebRTC project
- **主页:** <https://github.com/TimothyGu/libilbc>
- **仓库:** <https://github.com/TimothyGu/libilbc>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ilbc_test (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

libilbc is a packaging-focused standalone copy of the Internet Low Bit Rate Codec implementation from the WebRTC project. Its package value is that it turns a codec otherwise embedded in a much larger communications stack into a small system library and test utility.

### 项目历史

The underlying iLBC codec was specified for the IETF in RFC 3951, published in December 2004, with RFC 3952 defining the RTP payload format for carrying iLBC speech. The libilbc repository packages WebRTC's implementation as a distributable library rather than requiring consumers to vendor a WebRTC source subtree.

Timothy Gu took over maintainership for the standalone package in the 2.0.0 release dated November 17, 2014, updated the bundled WebRTC source, cleaned the Autotools files, and added CMake support. Version 3.0.0 on December 18, 2020 updated again to WebRTC source r32829, removed Autotools, made CMake the build system, and introduced the installed ilbc_test utility.

### 采用历史

Adoption is mainly through distribution packaging and projects that need the iLBC codec without a full WebRTC dependency. The README explicitly targets packagers, and Homebrew, Nix, and Arch package metadata all carry the package under the libilbc name.

### 使用方式

Typical use is linking against the C library for iLBC encode and decode support or running ilbc_test against raw 8 kHz mono PCM samples. The codec remains relevant where narrowband speech compatibility and packet-loss behavior matter more than modern wideband audio quality.

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

For package maintainers, libilbc is a classic extraction package: it keeps a small, ABI-versioned codec library available without forcing each downstream to track WebRTC internals. The 2020 CMake-only release also made the package easier to integrate into cross-platform build systems.

### 时间线

- 2004-12: RFC 3951 specified iLBC as an experimental Internet codec, and RFC 3952 specified its RTP payload format.
- 2014-11-17: libilbc 2.0.0 moved under Timothy Gu's maintainership and refreshed the WebRTC source snapshot.
- 2014-12-14: libilbc 2.0.2 fixed release-tarball and shared-library packaging details.
- 2020-12-18: libilbc 3.0.0 updated to WebRTC source r32829 and made CMake the only build system.
- 2020-12-31: libilbc 3.0.4 fixed a Chromium issue and upstreamed local patches to WebRTC.

### Related projects

- Related projects include WebRTC, which supplies the codec implementation packaged here; the IETF iLBC RFCs that define the codec and RTP payload; and downstream multimedia or telephony packages that prefer a small standalone codec library.

### 来源

- <https://datatracker.ietf.org/doc/html/rfc3952>
- <https://datatracker.ietf.org/doc/rfc3951/>
- <https://github.com/TimothyGu/libilbc>
- <https://github.com/TimothyGu/libilbc/releases>
- <https://raw.githubusercontent.com/TimothyGu/libilbc/main/NEWS.md>
- <https://raw.githubusercontent.com/TimothyGu/libilbc/main/README.md>


## 安全说明

library-like package without higher-risk signals.

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

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

- Nix - libilbc: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libilbc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - libilbc - 3.0.4-4: normalized package name match | Arch Linux sync databases: libilbc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A friendly copy of the iLBC codec from the WebRTC project | https://github.com/TimothyGu/libilbc/


## Combined YAML source

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