install-ffmpeg-amazon-linux.sh @hgT>V �.dT>V #!/bin/sh # Based on gist.github.com/gboudreau/install-ffmpeg-amazon-linux.sh # and https://trac.ffmpeg.org/wiki/CompilationGuide/Centos if [ "`/usr/bin/whoami`" != "root" ]; then echo "You need to execute this script as root." exit 1 fi cat > /etc/yum.repos.d/centos.repo<<EOF [centos] name=CentOS-6 – Base baseurl=http://mirror.centos.org/centos/6/os/x8