Installing Metasploit 4 in Ubuntu 11.04

Install the latest version of the Metasploit 4 Framework (MSF4) on Ubuntu 11.04 Natty Narwhal using the following commands. This downloads and installs the generic Linux binary which comes bundled with all the necessary components you need for Metasploit to install and run. This should work for most users and is the easiest way to get Metasploit Framework running under Ubuntu and other Debian based Linux distros quickly.

In a Terminal type the following

 wget http://updates.metasploit.com/data/releases/framework-4.0.0-linux-full.run

If you’re installing on a 64bit build of Ubuntu, use this instead

wget http://updates.metasploit.com/data/releases/framework-4.0.0-linux-x64-full.run

This downloads the current version of the Metasploit framework via wget.
Before you can run the installer you need to make it executable.

chmod +x framework-4.*-linux-full.run

And now execute the installer.

sudo ./framework-4.*-linux-full.run

Assuming all went well MSF 4 should now be installed. You should update it before running it.

sudo msfupdate

Now run it.

msfconsole

You should now be rewarded by one of the awesome ascii art logos and a functional Metasploit install.

If this fails for any reason you’ll want to do a manual install instead, which is a bit more complicated but if followed correctly should get you up and running. Find the official directions at Rapid7

Posted on by Mark Marshall in Main

8 Responses to Installing Metasploit 4 in Ubuntu 11.04

  1. sengphet.R

    Thank You Worked!! :)

  2. bugelemun

    thanks ;)

  3. Samorai

    wow good work thanx so much

  4. Joker_47

    good :D

  5. janaka

    working that so good thank you

  6. gigi

    great tutorial,thanks a lot.

  7. Aimad-Eddine

    Yeah ! it’s working fine, thank you !

  8. Tim Gore

    Worked like a charm. Thank you very much for this article.

Add a Comment