Last active
May 18, 2017 11:00
-
-
Save loong/923a51b1520fdccc1d6d05a46ff4398d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/.bashrc | |
sudo yum -y install make automake gcc gcc-c++ tmux emacs python-pip | |
sudo yum -y install git cmake libmad-devel libsndfile-devel gd-devel boost-devel intltool libtool-ltdl-devel swig | |
wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz | |
wget http://freedesktop.org/software/pulseaudio/releases/pulseaudio-10.0.tar.xz | |
wget https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.1.tar.gz | |
tar xvf libsndfile-1.0.28.tar.gz | |
tar xvf pulseaudio-10.0.tar.xz | |
tar xvf json-c-0.12.1.tar.gz | |
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig | |
cd json-c-0.12.1 | |
./configure | |
make -j3 | |
sudo make install | |
cd .. | |
cd libsndfile-1.0.28 | |
./configure | |
make -j3 | |
sudo make install | |
cd .. | |
cd pulseaudio-10.0 | |
./configure --without-caps | |
make -j3 | |
sudo make install | |
sudo ldconfig | |
pip install --user pocketsphinx | |
echo "" >> ~/.bashrc | |
echo "export LD_LIBRARY_PATH=/usr/local/lib" >> ~/.bashrc | |
echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" >> ~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment