# 使用 Homebrew, apt 安装 flake

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

## 安装

```sh
sudo av install brew:flake
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install flake
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install flake
```

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

## 软件包事实

- **软件包键:** brew:flake
- **软件包管理器:** Homebrew
- **版本:** 0.11
- **来源摘要:** FLAC audio encoder
- **主页:** <https://flake-enc.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- flake (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Flake is an independent open-source FLAC encoder from the SourceForge era, built as a faster alternative to the official FLAC reference encoder.

### 项目历史

The official site, copyright 2007, describes Flake as an independent implementation of the FLAC specification and an alternative to the reference encoder. It emphasizes command-line encoding, a libflake library, fast encoding, compression modes similar to the reference encoder, additional high-compression modes, and experimental variable block-size encoding.

The official download page lists Flake 0.11 source and binary downloads, plus SVN checkout instructions for the development tree. The project therefore sits in the late-2000s SourceForge/SVN ecosystem rather than the later GitHub-centered FLAC tooling world.

### 采用历史

Upstream lists official source, Linux x86, and Windows binary downloads, plus an unofficial Win32 archive. It also notes that Winamp 5.35 used Flake revision 117 as its FLAC encoder, a notable downstream adoption signal for a small codec project.

### 使用方式

Flake's package-manager use is straightforward: install the flake executable and run it as a command-line FLAC encoder. Developers could also use libflake as an encoding library, though the official page is clear that the project did not yet match all advanced features of the reference encoder.

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

Flake is historically interesting because it was not just another frontend for libFLAC; it was an independent encoder implementation chasing speed and alternative compression-search behavior while still targeting the FLAC specification.

For package collectors, it is a compact example of how codec experiments were distributed before GitHub dominance: SourceForge project page, tarballs, binary zips, SVN checkout command, and a small standalone command-line executable.

### 时间线

- 2007: Official site copyright and public project page describe Flake as an open-source FLAC encoder.
- 2007: Flake 0.11 source archive and binaries published on the official download page.
- 2007: Winamp 5.35 noted by upstream as using Flake revision 117 as its FLAC encoder.

### Related projects

- FLAC, libflake, Winamp, SourceForge, SVN, independent audio codec implementations.

### 来源

- <https://flake-enc.sourceforge.net/>
- <https://flake-enc.sourceforge.net/download.html>


## 安全说明

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

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

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

- Debian apt - flake - 0.11-4: normalized package name match | Debian stable package indexes: flake from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Alternative encoder for the Free Lossless Audio Codec | http://flake-enc.sourceforge.net/
- Debian apt - libflake-dev - 0.11-4: normalized package name match | Debian stable package indexes: libflake-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Alternative encoder for the Free Lossless Audio Codec -- Development files | http://flake-enc.sourceforge.net/
- Ubuntu apt - flake - 0.11-4: normalized package name match | Ubuntu 24.04 LTS package indexes: flake from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Alternative encoder for the Free Lossless Audio Codec | http://flake-enc.sourceforge.net/
- Ubuntu apt - libflake-dev - 0.11-4: normalized package name match | Ubuntu 24.04 LTS package indexes: libflake-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Alternative encoder for the Free Lossless Audio Codec -- Development files | http://flake-enc.sourceforge.net/


## Combined YAML source

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