Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 flac

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install flac

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install flac

MacPorts ports tree · audio/flac/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add flac

Alpine Linux edge package indexes · flac · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install flac

Debian stable package indexes · flac · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install flac

Fedora Rawhide package metadata · flac · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#flac

nixpkgs package indexes · pkgs/by-name/fl/flac/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S flac

Arch Linux sync databases · flac · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install flac

openSUSE Tumbleweed package metadata · flac · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install flac

Chocolatey community package catalog · flac · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/flac

Scoop official bucket manifest trees · bucket/flac.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Xiph.FLAC -e

Windows Package Manager source index · Xiph.FLAC · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Free lossless audio codec

命令和别名

  • flac
  • metaflac

历史

项目历史与用法

FLAC, the Free Lossless Audio Codec, is the standard open lossless audio format and toolchain used for archival-quality audio compression, playback, tagging, and transcoding.

项目历史

The FLAC project dates its specification document to 2000 and its long-running official pages carry Josh Coalson's early copyright followed by Xiph.Org Foundation stewardship. The project supplies both the format and the reference implementation: command-line tools, libFLAC, libFLAC++, metadata tooling, API documentation, and the formal bitstream specification.

Development moved from SourceForge to Xiph.org in 2012. A 2013 1.3.0 release was described by the project as the first release in more than six years from the new Xiph.Org maintainer team, starting the modern maintenance era.

The format was formally published as RFC 9639 in December 2024. The FLAC project describes this as codifying a format that already had a specification and reference implementation, making independent decoder implementations and long-term archival confidence easier. FLAC 1.5.0 followed in February 2025 with multithreaded encoding in libFLAC and the flac command-line tool.

采用历史

The official site emphasizes FLAC's combination of open specification, patent-unencumbered design, open-source reference implementation, documented format and API, and independent implementations. It also lists support across common operating systems and notes many programs and devices that support the format.

Official news items show FLAC moving from enthusiast and archival circles into broad consumer playback: Android native FLAC playback in 2011, hardware and receiver support through the early 2010s, high-resolution music stores and streaming services using FLAC in 2014, and continuing support from players, devices, and audio software.

使用方式

The Homebrew package exposes the official flac encoder/decoder and metaflac metadata editor. Typical package-manager usage is installing these tools for lossless CD ripping, audio verification, transcoding to or from WAV/AIFF-style sources, metadata inspection and editing, and scripts that need a stable codec utility.

Developers use libFLAC and libFLAC++ when embedding FLAC support in applications, while format implementers use the specification, API docs, Ogg FLAC mapping, and conformance material.

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

FLAC is one of the packages that turns a Unix system into a serious media workstation: small command-line tools, stable libraries, strong archival semantics, and a file format that can be decoded independently decades later.

For package maintainers, FLAC matters because many other media packages link against libFLAC or shell out to flac/metaflac. Its release notes track ABI versions, build-system changes, fuzzing, Windows and Unix portability, and security-hardening details that ripple across audio stacks.

时间线

  • 2000: FLAC specification document existed alongside the open-source reference implementation.
  • 2011: Android 3.1 added native FLAC playback.
  • 2012: FLAC development moved from SourceForge to Xiph.org.
  • 2013: FLAC 1.3.0 released by the new Xiph.Org maintainer team.
  • 2014: FLAC 1.3.1 released after security-triggered maintenance; FLAC also appeared in high-resolution stores and streaming announcements.
  • 2024: RFC 9639 formally specified the FLAC format.
  • 2025: FLAC 1.5.0 added multithreaded encoding in libFLAC and the flac CLI.

Related projects

  • Xiph.Org, libFLAC, libFLAC++, metaflac, Ogg FLAC, RFC 9639, Hydrogenaudio, Vorbis.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:audio

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
flaccli全局可执行文件
metaflaccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-11
管理器版本1.5.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://xiph.org/flac/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://xiph.org/flac/none 置信度

安装元数据

软件包元数据

软件包键brew:flac
版本1.5.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/flac
主页https://xiph.org/flac/
仓库https://github.com/xiph/flac
上游文档https://xiph.org/flac/api
许可证BSD-3-Clause AND GPL-2.0-or-later AND ISC AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Homebrew-public-domain AND (GPL-2.0-or-later OR LGPL-2.1-or-later)
源码归档https://ftp.osuosl.org/pub/xiph/releases/flac/flac-1.5.0.tar.xz
依赖libogg
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameflac
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

flac 1.5.0+ds-2

Free Lossless Audio Codec - command line tools

https://xiph.org/flac/

sudo apt install flac
  • Section: sound
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Flac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: flac from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libflac++-dev 1.5.0+ds-2

Free Lossless Audio Codec - C++ development library

https://xiph.org/flac/

sudo apt install libflac++-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: flac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Flac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libflac++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libflac++11 1.5.0+ds-2

Free Lossless Audio Codec - C++ runtime library

https://xiph.org/flac/

sudo apt install libflac++11
  • Section: libs
  • Architecture: amd64
  • Source Package: flac
  • 4 依赖
  • normalized package name match
  • 匹配方式:Flac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libflac++11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libflac-dev 1.5.0+ds-2

Free Lossless Audio Codec - C development library

https://xiph.org/flac/

sudo apt install libflac-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: flac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Flac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libflac-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libflac-doc 1.5.0+ds-2

Free Lossless Audio Codec - library documentation

https://xiph.org/flac/

sudo apt install libflac-doc
  • Section: doc
  • Architecture: all
  • Source Package: flac
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Flac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libflac-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libflac14 1.5.0+ds-2

Free Lossless Audio Codec - runtime C library

https://xiph.org/flac/

sudo apt install libflac14
  • Section: libs
  • Architecture: amd64
  • Source Package: flac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Flac
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libflac14 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

flac

nix profile install nixpkgs#flac
  • normalized package name match
  • 匹配方式:Flac
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fl/flac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

flac 1.4.3+ds-2.1ubuntu2

Free Lossless Audio Codec - command line tools

https://xiph.org/flac/

sudo apt install flac
  • Section: universe/sound
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Flac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: flac from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libflac++-dev 1.4.3+ds-2.1ubuntu2

Free Lossless Audio Codec - C++ development library

https://xiph.org/flac/

sudo apt install libflac++-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: flac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Flac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libflac++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libflac++10 1.4.3+ds-2.1ubuntu2

Free Lossless Audio Codec - C++ runtime library

https://xiph.org/flac/

sudo apt install libflac++10
  • Section: libs
  • Architecture: amd64
  • Source Package: flac
  • 4 依赖
  • normalized package name match
  • 匹配方式:Flac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libflac++10 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libflac-dev 1.4.3+ds-2.1ubuntu2

Free Lossless Audio Codec - C development library

https://xiph.org/flac/

sudo apt install libflac-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: flac
  • 2 依赖
  • normalized package name match
  • 匹配方式:Flac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libflac-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libflac-doc 1.4.3+ds-2.1ubuntu2

Free Lossless Audio Codec - library documentation

https://xiph.org/flac/

sudo apt install libflac-doc
  • Section: doc
  • Architecture: all
  • Source Package: flac
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Flac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libflac-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libflac12t64 1.4.3+ds-2.1ubuntu2

Free Lossless Audio Codec - runtime C library

https://xiph.org/flac/

sudo apt install libflac12t64
  • Section: libs
  • Architecture: amd64
  • Source Package: flac
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Flac
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libflac12t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

flac 1.4.3-r2

Free Lossless Audio Codec

https://xiph.org/flac/

sudo apk add flac
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: flac
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Flac
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flac from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

flac-dev 1.4.3-r2

Free Lossless Audio Codec (development files)

https://xiph.org/flac/

sudo apk add flac-dev
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: flac
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Flac
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flac-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

flac-doc 1.4.3-r2

Free Lossless Audio Codec (documentation)

https://xiph.org/flac/

sudo apk add flac-doc
  • License: BSD-3-Clause AND GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: flac
  • normalized package name match
  • 匹配方式:Flac
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flac-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment