Skip to content

Commit d18c13e

Browse files
authored
Update pocketsphinx.rst
Add libasound2-dev to avoid error: "alsa/asoundlib.h no such file or directory"
1 parent f89256b commit d18c13e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/pocketsphinx.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For Windows, it is recommended to install the precompiled Wheel packages in the
3636
For Linux and other POSIX systems (like OS X), you'll want to build from source. It should take less than two minutes on a fast machine.
3737

3838
* On any Debian-derived Linux distributions (like Ubuntu and Mint):
39-
1. Run ``sudo apt-get install python python-all-dev python-pip build-essential swig git libpulse-dev`` for Python 2, or ``sudo apt-get install python3 python3-all-dev python3-pip build-essential swig git libpulse-dev`` for Python 3.
39+
1. Run ``sudo apt-get install python python-all-dev python-pip build-essential swig git libpulse-dev libasound2-dev`` for Python 2, or ``sudo apt-get install python3 python3-all-dev python3-pip build-essential swig git libpulse-dev libasound2-dev`` for Python 3.
4040
2. Run ``pip install pocketsphinx`` for Python 2, or ``pip3 install pocketsphinx`` for Python 3.
4141
* On OS X:
4242
1. Run ``brew install swig git python`` for Python 2, or ``brew install swig git python3`` for Python 3.

0 commit comments

Comments
 (0)