Tested on Ubuntu this script goes out and grabs you a new blender build and puts in in $HOME/Blender Builds/Bleeding Edge. Defaults to gooseberry branch.
Look at the defines at the top for tweekability.
IMPORTANT: You must have wget installed first
To install, in a terminal type:
sudo apt-get install wget
To use:
extract: Upgrade Blender.sh to a directory
open up the file in your text editor to tweak options.