Install dependencies:
sudo apt-get install libboost-all-dev libncurses5-dev libglibmm-2.4-dev build-essential