Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove MySQL Workbench 5.2 in ubuntu unity?

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.

like image 480
ziiweb Avatar asked Apr 03 '12 08:04

ziiweb


5 Answers

Follow link this : http://dev.mysql.com/doc/workbench/en/wb-linux-uninstalling.html

Uninstalling DEB packages

To uninstall a Debian package, use this command:

sudo dpkg -r mysql-workbench-community

This command does not remove the configuration files. If you wish to also remove the configuration files, use this command:

sudo dpkg --purge mysql-workbench-community
like image 65
Donot Don't Avatar answered Dec 09 '22 12:12

Donot Don't


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.

like image 41
Sergio Avatar answered Dec 09 '22 11:12

Sergio


It is very simple: If you have the .deb file in place run:

sudo dpkg -r workbench.deb

otherwise simply delete the installation directory of the workbench, this should be sufficient.

like image 31
Flo Doe Avatar answered Dec 09 '22 12:12

Flo Doe


You have to specify the edition that you want to uninstall..

sudo apt-get remove mysql-workbench-community
like image 42
Ashutosh Srivastav Avatar answered Dec 09 '22 11:12

Ashutosh Srivastav


I removed using this command:

sudo snap remove mysql-workbench-community

like image 42
Usama Majid Avatar answered Dec 09 '22 11:12

Usama Majid