I had serious problems with metasploit 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 and after a few seconds another window opens for 0.01 sec then closes and it types Killed in the terminal.