Prerequisite: You have to install these packages before install main libraries for WRF and WPS
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y csh mpich gfortran gcc m4 make zlib1g-dev git
Just paste this command to your terminal
./install.sh