Automic VaultAutomic Vault

brew

Install cmu-pocketsphinx with Homebrew, apt, dnf, MacPorts, Nix, scoop, zypper

Lightweight speech recognition engine for mobile devices. Version 5.1.1 via Homebrew; verified 2026-06-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cmu-pocketsphinx

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install pocketsphinx

MacPorts ports tree · audio/pocketsphinx/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install gstreamer1.0-pocketsphinx

Debian stable package indexes · gstreamer1.0-pocketsphinx · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install pocketsphinx

Fedora Rawhide package metadata · pocketsphinx · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#pocketsphinx

nixpkgs package indexes · pkgs/by-name/po/pocketsphinx/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install gstreamer-plugin-pocketsphinx

openSUSE Tumbleweed package metadata · gstreamer-plugin-pocketsphinx · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install extras/pocketsphinx

Scoop official bucket manifest trees · bucket/pocketsphinx.json · source: api.github.com

overview

Package summary

Lightweight speech recognition engine for mobile devices

Commands and aliases

  • pocketsphinx
  • pocketsphinx_batch
  • pocketsphinx_jsgf2fsg
  • pocketsphinx_lm_convert
  • pocketsphinx_lm_eval
  • pocketsphinx_mdef_convert
  • pocketsphinx_pitch

history

Project history and usage

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

Project history

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.

Adoption history

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

How it is used

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

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
pocketsphinxcliglobal executable
pocketsphinx_batchcliglobal executable
pocketsphinx_jsgf2fsgcliglobal executable
pocketsphinx_lm_convertcliglobal executable
pocketsphinx_lm_evalcliglobal executable
pocketsphinx_mdef_convertcliglobal executable
pocketsphinx_pitchcliglobal executable

freshness

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

page generated2026-07-08
manager version5.1.1
manager updated2026-06-06
local dataok
upstreamcurrent
latest detectedv5.1.1

https://github.com/cmusphinx/pocketsphinx

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cmu-pocketsphinx
Version5.1.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cmu-pocketsphinx
Homepagehttps://cmusphinx.github.io/
Repositoryhttps://github.com/cmusphinx/pocketsphinx
Upstream docshttps://cmusphinx.github.io/doc/pocketsphinx
LicenseBSD-2-Clause
Source archivehttps://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.1.1.tar.gz
Last updated2026-06-06T20:42:29Z
Pulseupdated
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecmu-pocketsphinx
Aliases
  • pocketsphinx
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

MacPorts94%

pocketsphinx

sudo port install pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
MacPorts ports tree · api.github.com · MacPorts ports tree: audio/pocketsphinx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

gstreamer1.0-pocketsphinx 0.8+5prealpha+1-15+b4

Speech recognition tool - GStreamer plugin

http://cmusphinx.sourceforge.net/

sudo apt install gstreamer1.0-pocketsphinx
  • Section: sound
  • Architecture: amd64
  • Source Package: pocketsphinx
  • 5 dependencies
  • installed executable or alias match
  • Matched by: Pocketsphinx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gstreamer1.0-pocketsphinx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libpocketsphinx-dev 0.8+5prealpha+1-15+b4

Speech recognition tool - front-end library development files

http://cmusphinx.sourceforge.net/

sudo apt install libpocketsphinx-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: pocketsphinx
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Pocketsphinx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpocketsphinx-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libpocketsphinx3 0.8+5prealpha+1-15+b4

Speech recognition tool - front-end library

http://cmusphinx.sourceforge.net/

sudo apt install libpocketsphinx3
  • Section: libs
  • Architecture: amd64
  • Source Package: pocketsphinx
  • 2 dependencies
  • 1 optional deps
  • installed executable or alias match
  • Matched by: Pocketsphinx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpocketsphinx3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

pocketsphinx 0.8+5prealpha+1-15+b4

Speech recognition tool

http://cmusphinx.sourceforge.net/

sudo apt install pocketsphinx
  • Section: sound
  • Architecture: amd64
  • Source Package: pocketsphinx
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Pocketsphinx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pocketsphinx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

pocketsphinx-en-us 0.8+5prealpha+1-15

Speech recognition tool - US English language model

http://cmusphinx.sourceforge.net/

sudo apt install pocketsphinx-en-us
  • Section: sound
  • Architecture: all
  • Source Package: pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pocketsphinx-en-us from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

pocketsphinx-testdata 0.8+5prealpha+1-15

Speech recognition tool - test data for pocketsphinx

http://cmusphinx.sourceforge.net/

sudo apt install pocketsphinx-testdata
  • Section: libdevel
  • Architecture: all
  • Source Package: pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pocketsphinx-testdata from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

swig-pocketsphinx 0.8+5prealpha+1-15

Speech recognition tool - pocketsphinx swig helpers

http://cmusphinx.sourceforge.net/

sudo apt install swig-pocketsphinx
  • Section: interpreters
  • Architecture: all
  • Source Package: pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swig-pocketsphinx from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

pocketsphinx

nix profile install nixpkgs#pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/po/pocketsphinx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

gstreamer1.0-pocketsphinx 0.8.0+real5prealpha+1-15ubuntu5

Speech recognition tool - GStreamer plugin

http://cmusphinx.sourceforge.net/

sudo apt install gstreamer1.0-pocketsphinx
  • Section: universe/sound
  • Architecture: amd64
  • Source Package: pocketsphinx
  • 5 dependencies
  • installed executable or alias match
  • Matched by: Pocketsphinx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gstreamer1.0-pocketsphinx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libpocketsphinx-dev 0.8.0+real5prealpha+1-15ubuntu5

Speech recognition tool - front-end library development files

http://cmusphinx.sourceforge.net/

sudo apt install libpocketsphinx-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: pocketsphinx
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Pocketsphinx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpocketsphinx-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libpocketsphinx3 0.8.0+real5prealpha+1-15ubuntu5

Speech recognition tool - front-end library

http://cmusphinx.sourceforge.net/

sudo apt install libpocketsphinx3
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: pocketsphinx
  • 2 dependencies
  • 1 optional deps
  • installed executable or alias match
  • Matched by: Pocketsphinx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpocketsphinx3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

pocketsphinx 0.8.0+real5prealpha+1-15ubuntu5

Speech recognition tool

http://cmusphinx.sourceforge.net/

sudo apt install pocketsphinx
  • Section: universe/sound
  • Architecture: amd64
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Pocketsphinx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pocketsphinx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

pocketsphinx-en-us 0.8.0+real5prealpha+1-15ubuntu5

Speech recognition tool - US English language model

http://cmusphinx.sourceforge.net/

sudo apt install pocketsphinx-en-us
  • Section: universe/sound
  • Architecture: all
  • Source Package: pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pocketsphinx-en-us from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

pocketsphinx-testdata 0.8.0+real5prealpha+1-15ubuntu5

Speech recognition tool - test data for pocketsphinx

http://cmusphinx.sourceforge.net/

sudo apt install pocketsphinx-testdata
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pocketsphinx-testdata from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

swig-pocketsphinx 0.8.0+real5prealpha+1-15ubuntu5

Speech recognition tool - pocketsphinx swig helpers

http://cmusphinx.sourceforge.net/

sudo apt install swig-pocketsphinx
  • Section: universe/interpreters
  • Architecture: all
  • Source Package: pocketsphinx
  • installed executable or alias match
  • Matched by: Pocketsphinx
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swig-pocketsphinx from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment