macOS
brew install libsndfilelocal Homebrew formula metadata
sudo port install libsndfileMacPorts ports tree · audio/libsndfile/Portfile · source: api.github.com
brew
C library for files containing sampled sound. Version 1.2.2 via Homebrew; verified from local package data.
install
brew install libsndfilelocal Homebrew formula metadata
sudo port install libsndfileMacPorts ports tree · audio/libsndfile/Portfile · source: api.github.com
sudo apk add libsndfileAlpine Linux edge package indexes · libsndfile · source: dl-cdn.alpinelinux.org
sudo apt install libsndfile1Debian stable package indexes · libsndfile1 · source: deb.debian.org
sudo dnf install libsndfileFedora Rawhide package metadata · libsndfile · source: dl.fedoraproject.org
nix profile install nixpkgs#libsndfilenixpkgs package indexes · pkgs/by-name/li/libsndfile/package.nix · source: api.github.com
sudo pacman -S libsndfileArch Linux sync databases · libsndfile · source: geo.mirror.pkgbuild.com
sudo zypper install libsndfile-developenSUSE Tumbleweed package metadata · libsndfile-devel · source: download.opensuse.org
choco install libsndfileChocolatey community package catalog · libsndfile · source: community.chocolatey.org
scoop install extras/libsndfileScoop official bucket manifest trees · bucket/libsndfile.json · source: api.github.com
overview
C library for files containing sampled sound
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sndfile-cmp | cli | global executable | |
sndfile-concat | cli | global executable | |
sndfile-convert | cli | global executable | |
sndfile-deinterleave | cli | global executable | |
sndfile-info | cli | global executable | |
sndfile-interleave | cli | global executable | |
sndfile-metadata-get | cli | global executable | |
sndfile-metadata-set | cli | global executable | |
sndfile-play | cli | global executable | |
sndfile-salvage | cli | global executable |
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.
https://github.com/libsndfile/libsndfile
install metadata
| Package key | brew:libsndfile |
|---|---|
| Version | 1.2.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libsndfile |
| Homepage | https://libsndfile.github.io/libsndfile/ |
| Repository | https://github.com/libsndfile/libsndfile |
| Upstream docs | https://libsndfile.github.io/libsndfile |
| License | LGPL-2.1-or-later |
| Source archive | https://github.com/libsndfile/libsndfile/releases/download/1.2.2/libsndfile-1.2.2.tar.xz |
| Dependencies | flac, lame, libogg, libvorbis, mpg123, opus |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libsndfile |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libsndfile1 1.2.2-2+deb13u1
Library for reading/writing audio files
https://libsndfile.github.io/libsndfile/
sudo apt install libsndfile1libsndfile1-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-devsndfile-programs 1.2.2-2+deb13u1
Sample programs that use libsndfile
https://libsndfile.github.io/libsndfile/
sudo apt install sndfile-programslibsndfile
nix profile install nixpkgs#libsndfilelibsndfile1 1.2.2-1ubuntu5
Library for reading/writing audio files
http://www.mega-nerd.com/libsndfile/
sudo apt install libsndfile1libsndfile1-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-devsndfile-programs 1.2.2-1ubuntu5
Sample programs that use libsndfile
http://www.mega-nerd.com/libsndfile/
sudo apt install sndfile-programslibsndfile 1.2.2-r2
C library for reading and writing files containing sampled sound
https://libsndfile.github.io/libsndfile/
sudo apk add libsndfilelibsndfile-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-devlibsndfile-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-doclibsndfile-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-staticlibsndfile 1.2.2-11.fc45
Library for reading and writing sound files
http://libsndfile.github.io/libsndfile/
sudo dnf install libsndfilelibsndfile-devel 1.2.2-11.fc45
Development files for libsndfile
http://libsndfile.github.io/libsndfile/
sudo dnf install libsndfile-devellibsndfile-utils 1.2.2-11.fc45
Command Line Utilities for libsndfile
http://libsndfile.github.io/libsndfile/
sudo dnf install libsndfile-utilslibsndfile 1.2.2-4
A C library for reading and writing files containing sampled audio data
https://libsndfile.github.io/libsndfile/
sudo pacman -S libsndfilelibsndfile-devel 1.2.2-5.1
Development package for the libsndfile library
https://libsndfile.github.io/libsndfile/
sudo zypper install libsndfile-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.