Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libsndfile

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libsndfile

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

Linux

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

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

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

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

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

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

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

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

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

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

openSUSE zypper已验证 · 92%
sudo zypper install libsndfile-devel

openSUSE Tumbleweed package metadata · libsndfile-devel · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install libsndfile

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

Scoop已验证 · 92%
scoop install extras/libsndfile

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

概览

软件包摘要

C library for files containing sampled sound

命令和别名

  • sndfile-cmp
  • sndfile-concat
  • sndfile-convert
  • sndfile-deinterleave
  • sndfile-info
  • sndfile-interleave
  • sndfile-metadata-get
  • sndfile-metadata-set
  • sndfile-play
  • sndfile-salvage

历史

项目历史与用法

libsndfile is a long-running C library for reading and writing sampled-sound files through one API. Its package-manager importance comes from hiding the format, endian, and sample-width details of WAV, AIFF, AU, FLAC, Ogg/Vorbis, CAF, and other audio containers behind a small LGPL library and a set of command-line inspection/conversion tools.

项目历史

Erik de Castro Lopo developed libsndfile and published its original project site at mega-nerd.com. The project's release history records version 0.0.8 on February 15, 1999 as the first official release, version 1.0.0 on August 16, 2002 as the first stable 1.0 release, and later additions such as FLAC and CAF support in 2005 and Ogg/Vorbis support in 2009.

The GitHub README records that de Castro Lopo originally developed and maintained the project and that, after version 1.0.30, maintenance moved to the libsndfile team under the canonical GitHub organization.

采用历史

libsndfile became common infrastructure in Unix audio stacks because it solved a narrow but persistent portability problem: reading and writing many sampled-audio file formats without each application carrying its own parsers. Its availability across Homebrew, Debian, Fedora, Arch, Nix, MacPorts, Windows package channels, and other ecosystems reflects that library role.

使用方式

Developers link against the C API or use the bundled tools such as sndfile-info, sndfile-convert, sndfile-play, and metadata utilities. The package is especially useful in audio editors, batch conversion scripts, test pipelines, and DSP programs that need predictable PCM access across multiple container formats.

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

Package maintainers care about libsndfile because it sits below many higher-level audio applications and has a security-sensitive parser surface. Its release notes include multiple CVE and malformed-file fixes, so distributions tend to track it as a foundational media library rather than as an optional end-user tool.

时间线

  • 1999-02-15: Version 0.0.8 marked the first official release.
  • 2002-08-16: Version 1.0.0 became the first 1.0.x release.
  • 2005-09-30: Version 1.0.12 added FLAC, Apple's CAF, and virtual I/O support.
  • 2009-02-07: Version 1.0.18 added Ogg/Vorbis support and Windows binaries.
  • 2020-09-19: Version 1.0.30 preceded the transfer of maintenance to the libsndfile team described in the GitHub README.

Related projects

  • SoX is a related command-line sound conversion project named by the original libsndfile site.
  • libaudiofile is named by the original libsndfile site as a similar library with a different programming interface.
  • libsamplerate is a related Erik de Castro Lopo audio library often packaged near libsndfile, but it solves sample-rate conversion rather than file parsing.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sndfile-cmpcli全局可执行文件
sndfile-concatcli全局可执行文件
sndfile-convertcli全局可执行文件
sndfile-deinterleavecli全局可执行文件
sndfile-infocli全局可执行文件
sndfile-interleavecli全局可执行文件
sndfile-metadata-getcli全局可执行文件
sndfile-metadata-setcli全局可执行文件
sndfile-playcli全局可执行文件
sndfile-salvagecli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/libsndfile/libsndfile

安装元数据

软件包元数据

软件包键brew:libsndfile
版本1.2.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libsndfile
主页https://libsndfile.github.io/libsndfile/
仓库https://github.com/libsndfile/libsndfile
上游文档https://libsndfile.github.io/libsndfile
许可证LGPL-2.1-or-later
源码归档https://github.com/libsndfile/libsndfile/releases/download/1.2.2/libsndfile-1.2.2.tar.xz
依赖flac, lame, libogg, libvorbis, mpg123, opus
构建依赖cmake
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 Namelibsndfile
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

libsndfile1 1.2.2-2+deb13u1

Library for reading/writing audio files

https://libsndfile.github.io/libsndfile/

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

libsndfile1-dev 1.2.2-2+deb13u1

Development files for libsndfile; a library for reading/writing audio files

https://libsndfile.github.io/libsndfile/

sudo apt install libsndfile1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsndfile
  • 8 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libsndfile
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsndfile1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

sndfile-programs 1.2.2-2+deb13u1

Sample programs that use libsndfile

https://libsndfile.github.io/libsndfile/

sudo apt install sndfile-programs
  • Section: utils
  • Architecture: amd64
  • Source Package: libsndfile
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libsndfile
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sndfile-programs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libsndfile

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

libsndfile1 1.2.2-1ubuntu5

Library for reading/writing audio files

http://www.mega-nerd.com/libsndfile/

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

libsndfile1-dev 1.2.2-1ubuntu5

Development files for libsndfile; a library for reading/writing audio files

http://www.mega-nerd.com/libsndfile/

sudo apt install libsndfile1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsndfile
  • 8 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libsndfile
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsndfile1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

sndfile-programs 1.2.2-1ubuntu5

Sample programs that use libsndfile

http://www.mega-nerd.com/libsndfile/

sudo apt install sndfile-programs
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libsndfile
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libsndfile
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sndfile-programs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libsndfile 1.2.2-r2

C library for reading and writing files containing sampled sound

https://libsndfile.github.io/libsndfile/

sudo apk add libsndfile
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsndfile
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsndfile
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsndfile from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libsndfile-dev 1.2.2-r2

C library for reading and writing files containing sampled sound (development files)

https://libsndfile.github.io/libsndfile/

sudo apk add libsndfile-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsndfile
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsndfile
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsndfile-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libsndfile-doc 1.2.2-r2

C library for reading and writing files containing sampled sound (documentation)

https://libsndfile.github.io/libsndfile/

sudo apk add libsndfile-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsndfile
  • normalized package name match
  • 匹配方式:Libsndfile
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsndfile-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libsndfile-static 1.2.2-r2

C library for reading and writing files containing sampled sound (static library)

https://libsndfile.github.io/libsndfile/

sudo apk add libsndfile-static
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libsndfile
  • normalized package name match
  • 匹配方式:Libsndfile
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsndfile-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libsndfile 1.2.2-11.fc45

Library for reading and writing sound files

http://libsndfile.github.io/libsndfile/

sudo dnf install libsndfile
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libsndfile
  • 11 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libsndfile
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsndfile from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libsndfile-devel 1.2.2-11.fc45

Development files for libsndfile

http://libsndfile.github.io/libsndfile/

sudo dnf install libsndfile-devel
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libsndfile
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libsndfile
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsndfile-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libsndfile-utils 1.2.2-11.fc45

Command Line Utilities for libsndfile

http://libsndfile.github.io/libsndfile/

sudo dnf install libsndfile-utils
  • License: LGPL-2.1-or-later AND GPL-2.0-or-later AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libsndfile
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Libsndfile
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsndfile-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

libsndfile 1.2.2-4

A C library for reading and writing files containing sampled audio data

https://libsndfile.github.io/libsndfile/

sudo pacman -S libsndfile
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • 14 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Libsndfile
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libsndfile from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libsndfile-devel 1.2.2-5.1

Development package for the libsndfile library

https://libsndfile.github.io/libsndfile/

sudo zypper install libsndfile-devel
  • License: LGPL-2.1-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libsndfile
  • 5 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Libsndfile
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libsndfile-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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