# libsndfile を Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, apt, scoop, zypper でインストール

libsndfile のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libsndfile
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libsndfile
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libsndfile
```

  証拠: MacPorts ports tree: audio/libsndfile/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libsndfile
```

  証拠: Alpine Linux edge package indexes: libsndfile from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libsndfile
```

  証拠: Fedora Rawhide package metadata: libsndfile from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libsndfile
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libsndfile/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libsndfile
```

  証拠: Arch Linux sync databases: libsndfile from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install libsndfile1
```

  証拠: Debian stable package indexes: libsndfile1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libsndfile-devel
```

  証拠: openSUSE Tumbleweed package metadata: libsndfile-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install libsndfile
```

  証拠: Chocolatey community package catalog: libsndfile from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.4028','coreinfo'

- Scoop (92%):

```sh
scoop install extras/libsndfile
```

  証拠: Scoop official bucket manifest trees: bucket/libsndfile.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:libsndfile
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.2.2
- **ソース概要:** C library for files containing sampled sound
- **ホームページ:** <https://libsndfile.github.io/libsndfile/>
- **リポジトリ:** <https://github.com/libsndfile/libsndfile>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- sndfile-cmp (エイリアス)
- sndfile-concat (エイリアス)
- sndfile-convert (エイリアス)
- sndfile-deinterleave (エイリアス)
- sndfile-info (エイリアス)
- sndfile-interleave (エイリアス)
- sndfile-metadata-get (エイリアス)
- sndfile-metadata-set (エイリアス)
- sndfile-play (エイリアス)
- sndfile-salvage (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.2.2
## プロジェクトの歴史と使われ方

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.

### ソース

- <http://www.mega-nerd.com/libsndfile/>
- <http://www.mega-nerd.com/libsndfile/NEWS>
- <https://github.com/libsndfile/libsndfile>
- <https://github.com/libsndfile/libsndfile/releases>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - libsndfile1 - 1.2.2-2+deb13u1: normalized package name match | Debian stable package indexes: libsndfile1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for reading/writing audio files | https://libsndfile.github.io/libsndfile/
- Debian apt - libsndfile1-dev - 1.2.2-2+deb13u1: normalized package name match | Debian stable package indexes: libsndfile1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for libsndfile; a library for reading/writing audio files | https://libsndfile.github.io/libsndfile/
- Debian apt - sndfile-programs - 1.2.2-2+deb13u1: normalized package name match | Debian stable package indexes: sndfile-programs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Sample programs that use libsndfile | https://libsndfile.github.io/libsndfile/
- Nix - libsndfile: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libsndfile/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsndfile1 - 1.2.2-1ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: libsndfile1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Library for reading/writing audio files | http://www.mega-nerd.com/libsndfile/
- Ubuntu apt - libsndfile1-dev - 1.2.2-1ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: libsndfile1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Development files for libsndfile; a library for reading/writing audio files | http://www.mega-nerd.com/libsndfile/
- Ubuntu apt - sndfile-programs - 1.2.2-1ubuntu5: normalized package name match | Ubuntu 24.04 LTS package indexes: sndfile-programs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Sample programs that use libsndfile | http://www.mega-nerd.com/libsndfile/
- apk - libsndfile - 1.2.2-r3: normalized package name match | Alpine Linux edge package indexes: libsndfile from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C library for reading and writing files containing sampled sound | https://libsndfile.github.io/libsndfile/
- apk - libsndfile-dev - 1.2.2-r3: normalized package name match | Alpine Linux edge package indexes: libsndfile-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C library for reading and writing files containing sampled sound (development files) | https://libsndfile.github.io/libsndfile/
- apk - libsndfile-doc - 1.2.2-r3: normalized package name match | Alpine Linux edge package indexes: libsndfile-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C library for reading and writing files containing sampled sound (documentation) | https://libsndfile.github.io/libsndfile/
- apk - libsndfile-static - 1.2.2-r3: normalized package name match | Alpine Linux edge package indexes: libsndfile-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | C library for reading and writing files containing sampled sound (static library) | https://libsndfile.github.io/libsndfile/
- dnf - libsndfile - 1.2.2-12.fc45: normalized package name match | Fedora Rawhide package metadata: libsndfile from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library for reading and writing sound files | http://libsndfile.github.io/libsndfile/
- dnf - libsndfile-devel - 1.2.2-12.fc45: normalized package name match | Fedora Rawhide package metadata: libsndfile-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libsndfile | http://libsndfile.github.io/libsndfile/
- dnf - libsndfile-utils - 1.2.2-12.fc45: normalized package name match | Fedora Rawhide package metadata: libsndfile-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command Line Utilities for libsndfile | http://libsndfile.github.io/libsndfile/
- pacman - libsndfile - 1.2.2-4: normalized package name match | Arch Linux sync databases: libsndfile from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A C library for reading and writing files containing sampled audio data | https://libsndfile.github.io/libsndfile/
- zypper - libsndfile-devel - 1.2.2-5.3: normalized package name match | openSUSE Tumbleweed package metadata: libsndfile-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development package for the libsndfile library | https://libsndfile.github.io/libsndfile/


## Combined YAML source

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