How to remove MySQL Workbench 5.2 in ubuntu unity?

ziiweb picture ziiweb · Apr 3, 2012 · Viewed 41.3k times · Source

I have just download the .deb and installed it. It works. Now i want to uninstall it.

I have tried:

  • sudo apt-get remove mysql-workbench, but it says "E: Unable to locate package mysql-workbench".
  • Go to the Software manager, but it's not between the installed apps.
  • Execute again the .deb, but it doesn't give the option to uninstall it.

I reboot my pc after installing it.

Any idea?

Javier.

Answer

Sergio picture Sergio · Apr 3, 2012

The name of the MySQL Workbench package in Debian comes with the WB edition appended so it should be mysql-workbench-gpl for the GPL version and mysql-workbench-se for the SE version. You can search for the one you have installed with:

apt-cache search mysql-workbench

Once you have the proper package name you can remove it in the usual way:

sudo apt-get remove mysql-workbench-gpl

Hope this helps.