# cmu-pocketsphinx を Homebrew, apt, dnf, MacPorts, Nix, zypper, scoop でインストール

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

## インストール

```sh
sudo av install brew:cmu-pocketsphinx
```

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

### macOS

- Homebrew (100%):

```sh
brew install cmu-pocketsphinx
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pocketsphinx
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install pocketsphinx
```

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

- dnf (92%):

```sh
sudo dnf install pocketsphinx
```

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

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

- zypper (92%):

```sh
sudo zypper install pocketsphinx
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/pocketsphinx
```

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

## パッケージ情報

- **パッケージキー:** brew:cmu-pocketsphinx
- **パッケージマネージャ:** Homebrew
- **バージョン:** 5.1.1
- **ソース概要:** Lightweight speech recognition engine for mobile devices
- **ホームページ:** <https://cmusphinx.github.io/>
- **リポジトリ:** <https://github.com/cmusphinx/pocketsphinx>
- **最終更新:** 2026-06-06T20:42:29Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- pocketsphinx (エイリアス)
- pocketsphinx_batch (エイリアス)
- pocketsphinx_jsgf2fsg (エイリアス)
- pocketsphinx_lm_convert (エイリアス)
- pocketsphinx_lm_eval (エイリアス)
- pocketsphinx_mdef_convert (エイリアス)
- pocketsphinx_pitch (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

PocketSphinx is a compact open source speech recognizer from the CMU Sphinx family, distributed as a C library, command-line tools, and Python package.

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

The official README describes PocketSphinx as one of Carnegie Mellon University's open source large-vocabulary, speaker-independent continuous speech recognition engines. It also explains that the underlying algorithms and models are old but remain useful because they are compact and efficient.

The README traces lineage to Sphinx-II and older CMU systems released as free software, and credits David Huggins-Daines with creating PocketSphinx by adding speed and memory optimizations, fixed-point computation, JSGF support, portability, and a more coherent API.

### 採用の歴史

PocketSphinx's adoption came from being usable offline and on constrained systems long before cloud speech APIs were routine. The input package facts show packaging across Homebrew, Debian/Ubuntu GStreamer integration, Fedora, MacPorts, Nix, Scoop, and openSUSE, while the official Python docs document `pip install pocketsphinx`.

### 使われ方

The official README documents a `pocketsphinx` command that reads mono 16-bit PCM audio from standard input or files and outputs recognition results, along with subcommands for live recognition, single-utterance recognition, alignment, configuration, and sox integration. The Read the Docs site documents Python usage with `LiveSpeech`.

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

PocketSphinx is package-nerd significant because it packages a historically important offline speech recognizer across C, CLI, Python, audio I/O, models, and GStreamer-style integration. Its modern 5.x line also removed SphinxBase as a separate dependency, simplifying one of the classic packaging pain points.

### タイムライン

- 2014-04: Current GitHub repository created.
- 2022-10: v5.0.0 release published.
- 2023-12: v5.0.3 release published.
- 2025-01: v5.0.4 release published.
- 2026-06: v5.1.1 release published.

### Related projects

- PocketSphinx is part of the CMU Sphinx family and is related to Sphinx-II, older CMU speech-recognition systems, GStreamer packaging, Read the Docs Python bindings, and audio tools such as sox and PortAudio.

### ソース

- <https://github.com/cmusphinx/pocketsphinx#readme>
- <https://pocketsphinx.readthedocs.io/en/latest/>
- <https://api.github.com/repos/cmusphinx/pocketsphinx>
- <https://api.github.com/repos/cmusphinx/pocketsphinx/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- MacPorts - pocketsphinx: installed executable or alias match | MacPorts ports tree: audio/pocketsphinx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - gstreamer1.0-pocketsphinx - 0.8+5prealpha+1-15+b4: installed executable or alias match | Debian stable package indexes: gstreamer1.0-pocketsphinx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Speech recognition tool - GStreamer plugin | http://cmusphinx.sourceforge.net/
- Debian apt - libpocketsphinx-dev - 0.8+5prealpha+1-15+b4: installed executable or alias match | Debian stable package indexes: libpocketsphinx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Speech recognition tool - front-end library development files | http://cmusphinx.sourceforge.net/
- Debian apt - libpocketsphinx3 - 0.8+5prealpha+1-15+b4: installed executable or alias match | Debian stable package indexes: libpocketsphinx3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Speech recognition tool - front-end library | http://cmusphinx.sourceforge.net/
- Debian apt - pocketsphinx - 0.8+5prealpha+1-15+b4: installed executable or alias match | Debian stable package indexes: pocketsphinx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Speech recognition tool | http://cmusphinx.sourceforge.net/
- Debian apt - pocketsphinx-en-us - 0.8+5prealpha+1-15: installed executable or alias match | Debian stable package indexes: pocketsphinx-en-us from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Speech recognition tool - US English language model | http://cmusphinx.sourceforge.net/
- Debian apt - pocketsphinx-testdata - 0.8+5prealpha+1-15: installed executable or alias match | Debian stable package indexes: pocketsphinx-testdata from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Speech recognition tool - test data for pocketsphinx | http://cmusphinx.sourceforge.net/
- Debian apt - swig-pocketsphinx - 0.8+5prealpha+1-15: installed executable or alias match | Debian stable package indexes: swig-pocketsphinx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Speech recognition tool - pocketsphinx swig helpers | http://cmusphinx.sourceforge.net/
- Nix - pocketsphinx: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/po/pocketsphinx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gstreamer1.0-pocketsphinx - 0.8.0+real5prealpha+1-15ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: gstreamer1.0-pocketsphinx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Speech recognition tool - GStreamer plugin | http://cmusphinx.sourceforge.net/
- Ubuntu apt - libpocketsphinx-dev - 0.8.0+real5prealpha+1-15ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libpocketsphinx-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Speech recognition tool - front-end library development files | http://cmusphinx.sourceforge.net/
- Ubuntu apt - libpocketsphinx3 - 0.8.0+real5prealpha+1-15ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libpocketsphinx3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Speech recognition tool - front-end library | http://cmusphinx.sourceforge.net/
- Ubuntu apt - pocketsphinx - 0.8.0+real5prealpha+1-15ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: pocketsphinx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Speech recognition tool | http://cmusphinx.sourceforge.net/
- Ubuntu apt - pocketsphinx-en-us - 0.8.0+real5prealpha+1-15ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: pocketsphinx-en-us from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Speech recognition tool - US English language model | http://cmusphinx.sourceforge.net/
- Ubuntu apt - pocketsphinx-testdata - 0.8.0+real5prealpha+1-15ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: pocketsphinx-testdata from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Speech recognition tool - test data for pocketsphinx | http://cmusphinx.sourceforge.net/
- Ubuntu apt - swig-pocketsphinx - 0.8.0+real5prealpha+1-15ubuntu5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: swig-pocketsphinx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Speech recognition tool - pocketsphinx swig helpers | http://cmusphinx.sourceforge.net/


## Combined YAML source

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