This is a code that will install metasploit-framework on your linux, tested on ElementaryOS
For use uMetasploit , follow the steps:
1- Fix permission
sudo chmod 777 uMetasploit-Setup.sh
2- Now Begin the install
./uMetasploit-Setup.sh --iniciar
Done! , Now just wait at max 1 hour , wait the metasploit shell lauch on your terminal