Run these commands
sudo apt-get install git-core
git clone git://github.com/akhilnarang/scripts
cd scripts
. build-environment-setup.sh
Or
sudo apt-get install curl
curl https://raw.githubusercontent.com/akhilnarang/scripts/master/build-environment-setup.sh | bash
Enjoy!