bettercap is a complete, modular, portable and easily extensible MITM tool and framework with every kind of diagnostic and offensive feature you could need in order to perform a man in the middle attack.
All dependencies will be automatically installed through the GEM system but in some case you might need to install some system dependency in order to make everything work:
sudo apt-get install build-essential ruby-dev libpcap-dev
Stable Release ( GEM )
gem install bettercap