Metasploit Debian Commandline install
= Installing Metasploit on Ubuntu/Kubuntu/Debian Linux =
At this time, no package exists for Metasploit 3. In order to use the Metasploit Framework on Ubuntu or Debian distributions of Linux, the following packages need to be installed:
# apt-get install ruby libruby rdoc # apt-get install libyaml-ruby # apt-get install libzlib-ruby # apt-get install libopenssl-ruby # apt-get install libdl-ruby # apt-get install libreadline-ruby # apt-get install libiconv-ruby
The RubyGems package needs to be manually downloaded and installed.
# apt-get install rubygems
Once the dependencies have been installed, use the "gem" command to install version 1.2.2 of rails (required for the msfweb interface).
# gem install -v=1.2.2 rails
If you would like to use the experimental GUI, you will need to install the following packages:
# apt-get install libgtk2-ruby libglade2-ruby
If you would like to use the online update feature, you will need to install the "subversion" package as well. Once the pre-requisites have been installed, download the Unix tarball from Framework Website and extract it to the directory of your choice. If everything was installed correctly, execute the interface of your choice to get started (msfconsole, msfweb, etc).