# 使用 Homebrew, Nix, apk, apt, dnf, pacman 安装 fdk-aac-encoder

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

## 安装

```sh
sudo av install brew:fdk-aac-encoder
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fdk-aac-encoder
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fdk-aac-encoder
```

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

- apk (92%):

```sh
sudo apk add fdkaac
```

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

- Debian apt (92%):

```sh
sudo apt install fdkaac
```

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

- dnf (92%):

```sh
sudo dnf install fdkaac
```

  证据: Fedora Rawhide package metadata: fdkaac from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S fdkaac
```

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

## 软件包事实

- **软件包键:** brew:fdk-aac-encoder
- **软件包管理器:** Homebrew
- **版本:** 1.0.8
- **来源摘要:** Command-line encoder frontend for libfdk-aac
- **主页:** <https://github.com/nu774/fdkaac>
- **仓库:** <https://github.com/nu774/fdkaac>
- **最后更新:** 2026-07-18T20:21:36Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fdkaac (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

fdkaac is a command-line encoder frontend for libfdk-aac, packaged in Homebrew as fdk-aac-encoder and installed as the `fdkaac` executable.

### 项目历史

The public GitHub repository was created in January 2013, and its ChangeLog begins with initial commits and v0.0.1 in the same week. The README/manpage identifies the tool as a frontend for the libfdk-aac encoder rather than a standalone codec implementation.

Development in 2013 was rapid, adding raw input, metadata tagging, gapless mode, CAF input, M4A details, SBR options, and generated manpage material. Later releases focused on compatibility with newer libfdk-aac APIs, Visual Studio project updates, Windows path support, parser checks, and maintenance bumps.

### 采用历史

The supplied package metadata shows the encoder frontend packaged as fdkaac or fdk-aac-encoder across Homebrew, Debian/Ubuntu, Fedora, Nix, Arch, Alpine, and other distributions. That spread reflects the demand for an installable CLI wrapper around Fraunhofer FDK AAC in audio conversion workflows.

The GitHub project is smaller than general-purpose media tools, but it persists because it fills a specific packaging gap: users often need a simple executable that exposes libfdk-aac profiles, bitrate modes, M4A tagging, and streamable AAC transport formats.

### 使用方式

The README says fdkaac reads linear PCM audio in WAV, raw PCM, or CAF form and encodes it to M4A or AAC. It can read from stdin, write to stdout for streamable transport formats, copy CAF tags to M4A, set metadata fields, and choose profiles such as AAC LC, HE-AAC, HE-AAC v2, AAC LD, and AAC ELD.

Package users typically encounter it in shell pipelines or media scripts where libfdk-aac quality or profile support is desired without building a larger transcoding stack around it.

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

fdk-aac-encoder is package-nerd-relevant because the Homebrew formula name describes the dependency relationship while the executable keeps the upstream fdkaac name. That split is common in media packaging, where the user-facing binary, library dependency, and formula name are not identical.

Its history also tracks the practical edge cases that matter to audio packagers: gapless playback signaling, SBR behavior, CAF and WAV parsing, M4A metadata, Windows builds, and compatibility with evolving libfdk-aac APIs.

### 时间线

- 2013: Repository created and v0.0.1 initial release work began.
- 2013: v0.3.0 added `--moov-before-mdat`; v0.4.x added CAF input and SBR-related options.
- 2018: Version 1.0.0 updated for FDKv2 API changes and fixed LD/ELD priming behavior.
- 2026: v1.0.7 tag published.

### Related projects

- fdkaac is a frontend for libfdk-aac and depends on that library for AAC encoding.
- It overlaps operationally with larger audio transcoders, but its upstream documentation presents it as a direct encoder CLI rather than a general media framework.

### 来源

- <https://github.com/nu774/fdkaac>
- <https://github.com/nu774/fdkaac#readme>
- <https://raw.githubusercontent.com/nu774/fdkaac/master/ChangeLog>
- <https://api.github.com/repos/nu774/fdkaac>
- <https://api.github.com/repos/nu774/fdkaac/tags?per_page=100>
- <https://formulae.brew.sh/formula/fdk-aac-encoder>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - fdk-aac-encoder: normalized package name match | nixpkgs package indexes: pkgs/by-name/fd/fdk-aac-encoder/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Debian apt - fdkaac - 1.0.6-0.1: installed executable or alias match | Debian stable package indexes: fdkaac from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz | command line encoder frontend for libfdk-aac | https://github.com/nu774/fdkaac
- Ubuntu apt - fdkaac - 1.0.0-1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: fdkaac from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | command line encoder frontend for libfdk-aac | https://github.com/nu774/fdkaac
- apk - fdkaac - 1.0.6-r0: installed executable or alias match | Alpine Linux edge package indexes: fdkaac from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command line frontend for libfdk-aac | https://github.com/nu774/fdkaac
- apk - fdkaac-doc - 1.0.6-r0: installed executable or alias match | Alpine Linux edge package indexes: fdkaac-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command line frontend for libfdk-aac (documentation) | https://github.com/nu774/fdkaac
- dnf - fdkaac - 1.0.8-1.fc45: installed executable or alias match | Fedora Rawhide package metadata: fdkaac from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command line frontend for libfdk-aac encoder | https://github.com/nu774/fdkaac
- pacman - fdkaac - 1.0.8-1: installed executable or alias match | Arch Linux sync databases: fdkaac from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command line encoder frontend for libfdk-aac | https://github.com/nu774/fdkaac


## Combined YAML source

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