#!/bin/bash
wget "https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz"
tar -xf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make
make verify
sudo make install
sudo ldconfig
cd ..
sudo apt-get install libncurses-dev
wget "http://downloads.sourceforge.net/project/tmux/tmux/tmux-2.0/tmux-2.0.tar.gz"
tar xvfz tmux-2.0.tar.gz
cd tmux-2.0/
./configure && make
sudo make install