sudo apt-get install python-elixir python-qt4 xsltproc
sudo apt-get install nmap hydra cutycapt
sudo apt-get install ldap-utilsrwhorsh-clientx11-apps finger
cd /usr/share/
sudo apt install git
sudo git clone https://github.com/secforce/sparta.git
/usr/share$ cd sparta
sudo cp sparta /usr/bin
/usr/bin$ sudo chmod +x sparta
/usr/bin$ sudo apt install python-pyside.qtwebkit
/usr/bin$ sparta

ldap-utilsrwhorsh-clientx11-apps doesn’t install. I get “E: Unable to locate package ldap-utilsrwhorsh-clientx11-apps”
sudo apt-get install ldap-utils rwho rsh-client x11-apps finger
Also, you need to fix your spacing in your third apt command.
I also had to add one more package to my apt install for this to work:
sudo apt install python-requests