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

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

## 安装

```sh
sudo av install brew:faad2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install faad2
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install faad2
```

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

### Linux

- apk (92%):

```sh
sudo apk add faad2
```

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

- dnf (92%):

```sh
sudo dnf install faad2
```

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

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

- pacman (92%):

```sh
sudo pacman -S faad2
```

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

- zypper (92%):

```sh
sudo zypper install faad2
```

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

- Debian apt (92%):

```sh
sudo apt install faad
```

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

## 软件包事实

- **软件包键:** brew:faad2
- **软件包管理器:** Homebrew
- **版本:** 2.11.2
- **来源摘要:** ISO AAC audio decoder
- **主页:** <https://sourceforge.net/projects/faac/>
- **仓库:** <https://github.com/knik0/faad2>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- faad (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

FAAD2 is the Freeware Advanced Audio Decoder, a GPL-licensed AAC decoder with both a library and a small command-line frontend.

### 项目历史

The project comes from the early-2000s AAC tooling around FAAC/FAAD. Its README identifies FAAD2 as an HE, LC, MAIN, and LTP profile MPEG-2 and MPEG-4 AAC decoder with SBR support, and the copyright block credits M. Bakker and Nero AG for 2003-2005 code.

Later maintenance has focused less on new user-facing features and more on keeping a mature codec implementation buildable and safe. The changelog records DAB+ support in 2.7, renewed build-system work in the 2.9 and 2.10 series, and a large 2.11.0 cleanup with CMake, Bazel, CI, fuzzers, OSS-Fuzz integration, and many crash or CVE-related decoder fixes.

### 采用历史

FAAD2 became a familiar low-level dependency for Unix audio stacks because it provides a standalone AAC decoder library plus the `faad` frontend. Its adoption story is typical of codec packages: quiet, long-lived, and maintained because many media workflows need reliable decoding of older and current AAC files.

### 使用方式

Users normally encounter FAAD2 as the `faad` command or as libfaad linked by other media software. The source tree explicitly separates the command-line frontend, public include files, API docs, and decoder library, which is why distributions can package both executable and library use cases.

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

FAAD2 matters to package maintainers because it sits at the uncomfortable intersection of old multimedia standards, GPL licensing, patent warnings, and security hardening. The recent changelog entries around fuzzing and CVE fixes are exactly the sort of maintenance that keeps legacy codec packages viable.

### 时间线

- 2003-2005: Core FAAD2 copyright period credited to M. Bakker and Nero AG.
- 2009: FAAD2 2.7 adds DAB+ support.
- 2019: FAAD2 2.9.0 includes build cleanup and multiple CVE fixes.
- 2023: FAAD2 2.11.0 adds CMake, Bazel, CI, fuzzers, and broad decoder hardening.
- 2025: FAAD2 2.11.2 adds a BUILD_FAAD_CLI option and additional frontend fixes.

### Related projects

- FAAC is the companion AAC encoder project historically distributed from the same SourceForge project area.
- FAAD2 is commonly compared with other media codec components that provide small command-line frontends over reusable C libraries.

### 来源

- <https://github.com/knik0/faad2/blob/master/README>
- <https://github.com/knik0/faad2/blob/master/ChangeLog>
- <https://github.com/knik0/faad2/blob/master/AUTHORS>
- <https://sourceforge.net/projects/faac>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - faad - 2.11.2-1: normalized package name match | Debian stable package indexes: faad from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | freeware Advanced Audio Decoder player | https://github.com/knik0/faad2
- Debian apt - libfaad-dev - 2.11.2-1: normalized package name match | Debian stable package indexes: libfaad-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | freeware Advanced Audio Decoder - development files | https://github.com/knik0/faad2
- Debian apt - libfaad2 - 2.11.2-1: normalized package name match | Debian stable package indexes: libfaad2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | freeware Advanced Audio Decoder - runtime files | https://github.com/knik0/faad2
- Nix - faad2: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/faad2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - faad - 2.11.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: faad from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | freeware Advanced Audio Decoder player | https://github.com/knik0/faad2
- Ubuntu apt - libfaad-dev - 2.11.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libfaad-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | freeware Advanced Audio Decoder - development files | https://github.com/knik0/faad2
- Ubuntu apt - libfaad2 - 2.11.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libfaad2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | freeware Advanced Audio Decoder - runtime files | https://github.com/knik0/faad2
- apk - faad2 - 2.11.2-r0: normalized package name match | Alpine Linux edge package indexes: faad2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ISO AAC audio decoder | https://github.com/knik0/faad2
- apk - faad2-dev - 2.11.2-r0: normalized package name match | Alpine Linux edge package indexes: faad2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ISO AAC audio decoder (development files) | https://github.com/knik0/faad2
- apk - faad2-doc - 2.11.2-r0: normalized package name match | Alpine Linux edge package indexes: faad2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ISO AAC audio decoder (documentation) | https://github.com/knik0/faad2
- apk - faad2-libs - 2.11.2-r0: normalized package name match | Alpine Linux edge package indexes: faad2-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ISO AAC audio decoder (libraries) | https://github.com/knik0/faad2
- apk - faad2-static - 2.11.2-r0: normalized package name match | Alpine Linux edge package indexes: faad2-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ISO AAC audio decoder (static library) | https://github.com/knik0/faad2
- dnf - faad2 - 2.11.2-7.fc45: normalized package name match | Fedora Rawhide package metadata: faad2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library and frontend for decoding MPEG2/4 AAC | https://github.com/knik0/faad2/
- dnf - faad2-devel - 2.11.2-7.fc45: normalized package name match | Fedora Rawhide package metadata: faad2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development libraries of the FAAD 2 AAC decoder | https://github.com/knik0/faad2/
- dnf - faad2-libs - 2.11.2-7.fc45: normalized package name match | Fedora Rawhide package metadata: faad2-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Shared libraries of the FAAD 2 AAC decoder | https://github.com/knik0/faad2/
- pacman - faad2 - 2.11.2-1: normalized package name match | Arch Linux sync databases: faad2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Freeware Advanced Audio (AAC) Decoder | https://github.com/knik0/faad2


## Combined YAML source

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