#!/bin/sh sudo apt-get install git-core #Going to need git, this script assumes a Debian-based distro such as Ubuntu sudo apt-get build-dep mplayer #Get the basic dependencies of mplayer + a few extra libraries for more co$ git clone git://repo.or.cz/mplayer-build.git mplayer-build #Gits the most recent build scripts cd mplayer-build ./init #Gits the most recent revisions of mplayer, libav, and libass #finds the number of cores in your system cores=`cat /proc/cpuinfo |grep processor |wc -l` cores=`expr $cores + 1` make -j$cores #builds mplayer sudo make install #To install it