# Installer cmu-pocketsphinx avec Homebrew, apt, dnf, MacPorts, Nix, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cmu-pocketsphinx pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pocketsphinx
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:cmu-pocketsphinx
- **Gestionnaire de paquets:** Homebrew
- **Version:** 5.1.1
- **Résumé source:** Lightweight speech recognition engine for mobile devices
- **Page d'accueil:** <https://cmusphinx.github.io/>
- **Dépôt:** <https://github.com/cmusphinx/pocketsphinx>
- **Dernière mise à jour:** 2026-06-06T20:42:29Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- pocketsphinx (alias)
- pocketsphinx_batch (alias)
- pocketsphinx_jsgf2fsg (alias)
- pocketsphinx_lm_convert (alias)
- pocketsphinx_lm_eval (alias)
- pocketsphinx_mdef_convert (alias)
- pocketsphinx_pitch (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 5.1.1
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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

### Modes d'utilisation

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

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- 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)


## Sources

- 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
