Step 1 :
sudo apt-get install libssl-dev libssh-dev libidn11-dev libpcre3-dev libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev firebird2.1-dev libncp-dev libncurses5-dev
sudo -sH
cd /opt
wget http://www.thc.org/releases/hydra-7.4.2.tar.gz
tar -xvzf hydra-7.4.2.tar.gz
mv hydra-7.4.2 hydra
rm hydra-7.4.2.tar.gz
cd /opt/hydra
./configure
make
make install
Step 2 :
To run it in GUI in any directory.
xhydra
To run it in console in any directory.
hydra
That's all! See you.