Installing Wav2Json & Sox on EC2 Centos

May 09, 2016 by admin Category: Blog, Development 0 comments

To install wav2json run the code below

# install dependencies
sudo yum install boost-devel

tar -zxvf libsndfile-1.0.26.tar.gz

./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/libsndfile-1.0.26 &&


make install
# clone repository
cd ~/
mkdir wave2json && cd wave2json/
git clone

# build
cd wav2json/build/
make all

# install
mv ../bin/Linux/wav2json /usr/bin/

Now lets install sox

sudo yum install gcc-c++ libmad libmad-devel libid3tag libid3tag-devel lame lame-devel flac-devel libvorbis-devel
mkdir sox
cd sox
tar xvfz sox-14.4.2.tar.gz
cd sox-14.4.2
make -s
make install
export PATH=$PATH:/usr/local/bin
sudo ldconfig

Leave a Comment!

You must be logged in to post a comment.