Skip to content

Instantly share code, notes, and snippets.

@chrisjz
Created October 11, 2017 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save chrisjz/6b71e6e67a407c43ffacbc252bb52c07 to your computer and use it in GitHub Desktop.
Save chrisjz/6b71e6e67a407c43ffacbc252bb52c07 to your computer and use it in GitHub Desktop.
Install sox on Amazon Linux
#!/bin/sh
mkdir sox
cd sox
wget http://sourceforge.net/projects/sox/files/sox/14.4.2/sox-14.4.2.tar.gz
tar xvfz sox-14.4.2.tar.gz
cd sox-14.4.2
./configure
make -s
make install
export PATH=$PATH:/usr/local/bin
sudo ldconfig
@essramos
Copy link

run this on my ec2 instance. (Red Hat 7.2.1-2)

then when trying to combine two mp3 files I Get this.

sox FAIL formats: no handler for file extension `mp3'

Any idea?

@dvigneshwer
Copy link

@essramos the steps mentioned here worked for me. @chrisjz thanks for creating the gist it's pretty handy.

@ankuj
Copy link

ankuj commented Sep 6, 2019

yum install sox also seems to work?

@vijojose40
Copy link

You can install

yum install epel-release

Then retry the installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment