We will install all the coders into opt folder : # Remove any existing packages: sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev # Get the dependencies (Ubuntu Server or headless users): sudo apt-get update sudo apt-get -y install build-essential checkinstall git libfaac-dev libgpac-dev \ libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev librtmp-dev libtheora-dev \ libvorbis-dev pkg-config texi2html [...]