Automic VaultAutomic Vault

brew

Install libsndfile with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, zypper

C library for files containing sampled sound. Version 1.2.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libsndfile

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libsndfile

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

Linux

Alpine Linux apkverified · 92%
sudo apk add libsndfile

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

Debian aptverified · 92%
sudo apt install libsndfile1

Debian stable package indexes · libsndfile1 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libsndfile

Fedora Rawhide package metadata · libsndfile · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libsndfile

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

Arch Linux pacmanverified · 92%
sudo pacman -S libsndfile

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

openSUSE zypperverified · 92%
sudo zypper install libsndfile-devel

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

Windows

Chocolateyverified · 92%
choco install libsndfile

Chocolatey community package catalog · libsndfile · source: community.chocolatey.org

Scoopverified · 92%
scoop install extras/libsndfile

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

overview

Package summary

C library for files containing sampled sound

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
sndfile-cmpcliglobal executable
sndfile-concatcliglobal executable
sndfile-convertcliglobal executable
sndfile-deinterleavecliglobal executable
sndfile-infocliglobal executable
sndfile-interleavecliglobal executable
sndfile-metadata-getcliglobal executable
sndfile-metadata-setcliglobal executable
sndfile-playcliglobal executable
sndfile-salvagecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.2.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/libsndfile/libsndfile

install metadata

Package metadata

Package keybrew:libsndfile
Version1.2.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libsndfile
Homepagehttps://libsndfile.github.io/libsndfile/
Repositoryhttps://github.com/libsndfile/libsndfile
Upstream docshttps://libsndfile.github.io/libsndfile
LicenseLGPL-2.1-or-later
Source archivehttps://github.com/libsndfile/libsndfile/releases/download/1.2.2/libsndfile-1.2.2.tar.xz
Dependenciesflac, lame, libogg, libvorbis, mpg123, opus
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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