If you just want the one-liner fix, scroll to the bottom of this page.
After opening a terminal session: This fetches the most recent Certificate Authorities from Mozilla (hosted by those wacky curl devs), then fetches a Metasploit-upon-Git Hub bootstrapper, then reinstalls Metasploit Framework as a Git repo to /opt/metasploit/msf3 Note, if you're in a restricted environment that doesn't allow connections over the Git protocol (for some reason) set a couple environment variables to use HTTPS instead: will update using Git, not SVN, so life should be considerably better for you.
Also here they all are as one command: sudo apt-get install ruby libyaml-ruby libzlib-ruby libopenssl-ruby libdl-ruby libreadline-ruby libiconv-ruby rubygems subversion libglade2-ruby libgtk2-ruby Thanks for this post!
This Guide covers the installation of Metasploit Framework OSS Project on Ubuntun Linux LTS.
When I use commend "msfupdate" in the Kail , That says "[email protected]:~# msfupdate[*][*] Attempting to update the Metasploit Framework...[*] [*] Checking for updates via the APT repository[*] Note: expect weekly(ish) updates using this method[*] No updates [email protected]:~# " But my msf's version is 4.9.2, Went to the website to see is found now version is "4.9.3" .
After the download is complete we need to untar it: $ tar -xvzf framework-3.0gz Before we run metasploit, its a good idea to update its database.
If you are going to use Subversion to keep up to date you may have better luck if you start off with "checking out" a working copy of Metasploit.
Of course, we could use the Metasploit that's in our Kali Linux VM we just installed, but I generally only use Kali when a tool is unavailable for Macs, such as Aircrack-ng.
Plus, running tools directly on your main operating system is generally faster and easier than running them in a virtual machine.