Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had serious problems with metaploit since I installed it, so I want to uninstall it

I did try /opt/metasploit-4.5.0/uninstall but it doesn't work

it shows a yes and no .. I choose yes then wait some seconds another window opens for 0.01sec then closes and it types Killed in the terminal

share|improve this question
up vote 2 down vote accepted

I also had some problems with my Metasploit on 12.10.

I, by mistake of course, deleted my /opt/metasploit-4.5.0 before I found out it had an uninstaller inside. What I did to reinstall was search my file system for metasploit. Through root terminal (sudo su) I went and rmed all of the files. Then I ran the installer with sudo ./YOUR_DIRECTORY_HERE/

To succesfully reinstall Metasploit, be sure to remove ALL of the old Metasploit files in /etc/init.d and /etc/rc0-6.d.

share|improve this answer

You will have to navigate to the directory /opt/metasploit-4.5.0.
Open a terminal window ( ctrl+alt+T) and type cd /opt/metasploit-4.5.0 .
Next, run ./uninstall in your Terminal window.
A uninstall window should pop up

share|improve this answer
this is what I did .. a window poped out with yes or no ,, I chose yes then nothing happened /opt/metasploit-4.5.0# ./uninstall Killed – Ahmed Ekri Jan 29 '13 at 19:23
Try running it as root: sudo ./uninstall – Travis G. Jan 30 '13 at 21:43
same problem it types Killed @TravisG. – Ahmed Ekri Jan 31 '13 at 18:17

You need to run ./uninstall with root user.

cd /opt/metasploit    
sudo su    

Uninstall wizard will pop up. Best regards.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.