# Install cmu-pocketsphinx

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

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pocketsphinx
```

  Evidence: 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 gstreamer1.0-pocketsphinx
```

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

- dnf (92%):

```sh
sudo dnf install pocketsphinx
```

  Evidence: Fedora Rawhide package metadata: pocketsphinx from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#pocketsphinx
```

  Evidence: 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 gstreamer-plugin-pocketsphinx
```

  Evidence: openSUSE Tumbleweed package metadata: gstreamer-plugin-pocketsphinx from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

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

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

## Package Facts

- **Package key:** brew:cmu-pocketsphinx
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/cmu-pocketsphinx>
- **Version:** 5.1.1
- **Source summary:** Lightweight speech recognition engine for mobile devices
- **Homepage:** <https://cmusphinx.github.io/>
- **Repository:** <https://github.com/cmusphinx/pocketsphinx>
- **Upstream docs:** <https://github.com/cmusphinx/pocketsphinx#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/cmusphinx/pocketsphinx/archive/refs/tags/v5.1.1.tar.gz>
- **Last updated:** 2026-06-06T20:42:29Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

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

## Build Dependencies

- cmake

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 5.1.1
- Package-manager updated: 2026-06-06
- Local data status: ok
- Upstream repository: https://github.com/cmusphinx/pocketsphinx
- Upstream latest detected: v5.1.1 (current)

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cmu-pocketsphinx
- **Aliases:** pocketsphinx
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

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


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [openai-whisper](https://www.automicvault.com/zh-hans/pkg/brew/openai-whisper/) - Shares av.db curated category or tags: audio, cli, media, speech-recognition.
- [julius](https://www.automicvault.com/zh-hans/pkg/brew/julius/) - Shares av.db curated category or tags: audio, cli, media, speech-recognition.
- [cmuclmtk](https://www.automicvault.com/zh-hans/pkg/brew/cmuclmtk/) - Shares av.db curated category or tags: cli, cmusphinx, media, speech-recognition.
- [whisper-cpp](https://www.automicvault.com/zh-hans/pkg/brew/whisper-cpp/) - Shares av.db curated category or tags: cli, media, speech-recognition.
- [whisperkit-cli](https://www.automicvault.com/zh-hans/pkg/brew/whisperkit-cli/) - Shares av.db curated category or tags: cli, media, speech-recognition.
- [yap](https://www.automicvault.com/zh-hans/pkg/brew/yap/) - Shares av.db curated category or tags: audio, cli, media, speech-recognition.
- [ffmpeg](https://www.automicvault.com/zh-hans/pkg/brew/ffmpeg/) - Shares av.db curated category or tags: audio, cli, media.
- [yt-dlp](https://www.automicvault.com/zh-hans/pkg/brew/yt-dlp/) - Shares av.db curated category or tags: audio, cli, media.
- [mimic](https://www.automicvault.com/zh-hans/pkg/brew/mimic/) - Local package facts share a topical domain. Shared terms: cli, cmu, engine, lightweight, media.

## Sources

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