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

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

## インストール

```sh
sudo av install brew:sox
```

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

### macOS

- Homebrew (100%):

```sh
brew install sox
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sox
```

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

### Linux

- apk (92%):

```sh
sudo apk add sox
```

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

- Debian apt (92%):

```sh
sudo apt install sox
```

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

- dnf (92%):

```sh
sudo dnf install sox
```

  証拠: Fedora Rawhide package metadata: sox 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#sox
```

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

- pacman (92%):

```sh
sudo pacman -S sox
```

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

- zypper (92%):

```sh
sudo zypper install sox
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/sox
```

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

- winget (92%):

```sh
winget install --id ChrisBagwell.SoX -e
```

  証拠: Windows Package Manager source index: ChrisBagwell.SoX from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:sox
- **パッケージマネージャ:** Homebrew
- **バージョン:** 14.4.2
- **ソース概要:** SOund eXchange: universal sound sample translator
- **ホームページ:** <https://sox.sourceforge.net/>
- **最終更新:** 2026-07-13T17:31:46+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- play (エイリアス)
- rec (エイリアス)
- sox (エイリアス)
- soxi (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

SoX, short for Sound eXchange, is a long-running command-line audio conversion and processing suite. It is a classic Unix-style media tool: scriptable, format-oriented, useful in pipelines, and packaged broadly across Unix, Linux, macOS, and Windows package managers.

### プロジェクトの歴史

The official ChangeLog traces SoX back to July 1991 and records release history before and after the 11gamma series. The maintained SourceForge tree includes manuals, release notes, and library documentation for the `sox`, `play`, `rec`, and `soxi` commands.

SoX's manual describes the program as a command-line audio processing tool especially suited to quick edits and batch processing. Its model is intentionally non-graphical: input files, format options, output files, and effects are combined into a shell-friendly processing chain.

### 採用の歴史

SoX persisted because it solved a package-manager-shaped problem: one small CLI could convert, inspect, record, play, synthesize, and batch-process audio without a desktop editor. The input package facts show it packaged by Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Scoop, winget, and other systems.

The 14.x release history shows active maintenance through the 2000s and 2010s, including format support, effects, libSoX changes, and portability fixes. Its SourceForge project page describes it as the Swiss Army Knife of sound processing utilities.

### 使われ方

Common usage includes converting file formats, applying effects while converting, mixing or concatenating inputs, recording through `rec`, playing through `play`, and inspecting headers with `soxi`. The man page gives examples such as AU to WAV conversion, rate changes, fades, normalization, synthesis, and multitrack recording.

For package users, SoX is often installed because another script, build, podcast workflow, test fixture, or audio data pipeline needs a dependable `sox` binary rather than an interactive editor.

### パッケージ好きにとっての重要性

SoX is package-nerd infrastructure: tiny enough to script, old enough to be everywhere, and broad enough to replace many one-off audio converters. Its many optional codec and device backends make distro packaging choices visible to users, which is why formula variants and build dependencies matter.

The companion `play`, `rec`, and `soxi` entry points are also packaging-relevant because one installed program exposes several command names. This makes SoX a good example of a CLI package whose symlinks, optional libraries, and man pages are part of the user-facing contract.

### タイムライン

- 1991: Official ChangeLog traces project creation to July 1991.
- 1995: ChangeLog covers history through the sox-11gamma era.
- 2007: SoX 14.0.0 released.
- 2012: SoX 14.4.0 released with deprecations, format updates, and effect changes.
- 2015: SoX 14.4.2 released with Ogg Opus and RF64 WAV read support among other fixes.
- 2021: Source tree includes maintained manual page updates.

### Related projects

- libSoX is the library at the heart of SoX, according to the manual.
- Audacity is mentioned by the SoX manual as the interactive graphical editor to use when the command-line model is not appropriate.
- sox_ng is a later hard fork of SoX 14.4.2.

### ソース

- <https://sourceforge.net/p/sox/code/ci/master/tree/ChangeLog>
- <https://sourceforge.net/p/sox/code/ci/master/tree/sox.1>
- <https://sourceforge.net/p/sox/code/ci/master/tree/soxformat.7>
- <https://sox.sourceforge.net/>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- Debian apt - libsox-dev - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the SoX library | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-all - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | All SoX format libraries | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-alsa - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-alsa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoX alsa format I/O library | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-ao - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-ao from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoX Libao format I/O library | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-base - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Minimal set of SoX format libraries | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-mp3 - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-mp3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoX MP2 and MP3 format library | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-opus - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-opus from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoX Opus format library | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-oss - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-oss from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoX OSS format I/O library | https://sox.sourceforge.io/
- Debian apt - libsox-fmt-pulse - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox-fmt-pulse from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoX PulseAudio format I/O library | https://sox.sourceforge.io/
- Debian apt - libsox3 - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: libsox3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SoX library of audio effects and processing | https://sox.sourceforge.io/
- Debian apt - sox - 14.4.2+git20190427-5+b3: normalized package name match | Debian stable package indexes: sox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Swiss army knife of sound processing | https://sox.sourceforge.io/
- Nix - sox: normalized package name match | nixpkgs package indexes: pkgs/by-name/so/sox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsox-dev - 14.4.2+git20190427-4build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsox-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the SoX library | https://sox.sourceforge.io/
- Ubuntu apt - libsox-fmt-all - 14.4.2+git20190427-4build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsox-fmt-all from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | All SoX format libraries | https://sox.sourceforge.io/
- Ubuntu apt - libsox-fmt-alsa - 14.4.2+git20190427-4build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsox-fmt-alsa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SoX alsa format I/O library | https://sox.sourceforge.io/
- Ubuntu apt - libsox-fmt-ao - 14.4.2+git20190427-4build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libsox-fmt-ao from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SoX Libao format I/O library | https://sox.sourceforge.io/


## Combined YAML source

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