How to install metasploit on ubuntu 8.10

1. install all file or packages that support ruby

root@ubuntu:~# apt-get install build-essential ruby libruby rdoc
libyaml-ruby libzlib-ruby libopenssl-ruby libdl-ruby libreadline-ruby
libiconv-ruby rubygems sqlite3 libsqlite3-ruby libsqlite3-dev irb

2. download ruby gem

root@ubuntu:~# wget

3. extract it

root@ubuntu:~# tar -xvzf rubygems-1.3.3.tgz

4. goto ruby gem directory

root@ubuntu:~# cd rubygems-1.3.3

5. run the setup

root@ubuntu:~# ruby setup.rb

6. install gem rails

root@ubuntu:~# gem install rails 2.3.2

7. download metasploit framework

root@ubuntu:~# svn co metasploit

8. goto metasploit directory

root@ubuntu:~# cd metasploit

9. update metasploit

root@ubuntu:~# svn up

10. run metasploit

root@ubuntu:~# ./msfconsole

11. documentation

One Response so far.

  1. nirav says:

    i think there is easy method also.just download linux version from their website.& run only 3 commands.