如何在 ubuntu unity 中删除 MySQL Workbench 5.2?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9989483/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to remove MySQL Workbench 5.2 in ubuntu unity?
提问by ziiweb
I have just download the .deb and installed it. It works. Now i want to uninstall it.
我刚刚下载了 .deb 并安装了它。有用。现在我想卸载它。
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.
- sudo apt-get 删除 mysql-workbench,但它说“E:无法找到包 mysql-workbench”。
- 转到软件管理器,但它不在已安装的应用程序之间。
- 再次执行 .deb,但它没有提供卸载它的选项。
I reboot my pc after installing it.
安装后我重新启动了我的电脑。
Any idea?
任何的想法?
Javier.
哈维尔。
回答by Donot Don't
Follow link this : http://dev.mysql.com/doc/workbench/en/wb-linux-uninstalling.html
按照这个链接:http: //dev.mysql.com/doc/workbench/en/wb-linux-uninstalling.html
Uninstalling DEB packages
卸载 DEB 包
To uninstall a Debian package, use this command:
要卸载 Debian 软件包,请使用以下命令:
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
回答by Sergio
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:
Debian 中 MySQL Workbench 包的名称附带了 WB 版本,因此它应该mysql-workbench-gpl
用于 GPL 版本和mysql-workbench-se
SE 版本。您可以搜索已安装的那个:
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.
希望这可以帮助。
回答by Flo Doe
It is very simple: If you have the .deb file in place run:
这很简单:如果您有 .deb 文件,请运行:
sudo dpkg -r workbench.deb
otherwise simply delete the installation directory of the workbench, this should be sufficient.
否则干脆删除workbench的安装目录,这样应该就够了。
回答by Ashutosh Srivastav
You have to specify the editionthat you want to uninstall..
你必须指定版本要卸载..
sudo apt-get remove mysql-workbench-community
回答by Sarvas
You can remove all the dependencies with the command below
您可以使用以下命令删除所有依赖项
sudo apt-get remove mysql-*
回答by RIYAJ KHAN
Steps :
脚步 :
- Go to Ubuntu Software Center
- Click on installed Tab.
- click Developer Tools You will get list of software.Select Workbench and remove it.
- 转到 Ubuntu 软件中心
- 单击已安装的选项卡。
- 单击开发人员工具您将获得软件列表。选择 Workbench 并将其删除。