Install FFMpeg with x264 (H.264) on Ubuntu script

I’ve found very good article “HOWTO: Install and use the latest FFmpeg and x264”

But since my HDD has crashed and I needed to re-install all software on my Ubuntu box I decided to make a script with all commands from that article, please grab it here

After download run these commands:

tar -xzf

UPDATE: Please use this Guide to install & configure FFMPEG for Ubuntu