如何在 ubuntu 12.04 上完全卸载 eclipse

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14293363/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:47:17  来源:igfitidea点击:

how to uninstall eclipse fully on ubuntu 12.04

eclipseubuntu

提问by user1279988

I have installed on my ubuntu 21.04 eclipse indigo. but I forgot I how to install it, using apt-get or rpm or other ways install.

我已经在我的 ubuntu 21.04 eclipse indigo 上安装了。但是我忘记了如何安装它,使用 apt-get 或 rpm 或其他方式安装。

when today I install some update for it, the eclipse appear some bugs ,for example, it can not find editor, ther ADT can not appear.

今天我为它安装了一些更新时,eclipse出现了一些错误,例如找不到编辑器,无法出现ADT。

So I want to uninstall it.

所以我想卸载它。

I use sudo apt=get remove eclipse, then it is OK.

我用sudo apt=get remove eclipse,然后就OK了。

but when I input in cmd line: eclipse. there still have eclipse appear.

但是当我在 cmd 行中输入时:eclipse。仍然有日食出现。

So I ask how to fully the installed

所以请问如何完全安装

eclipse on ubuntu

ubuntu 上的日食

thanks

谢谢

回答by michas

Ubuntu is based on Debian and therefore uses .deb packages usually managed by apt-get. Hence you can be pretty sure rpm is not involved.

Ubuntu 基于 Debian,因此使用通常由 apt-get 管理的 .deb 包。因此,您可以非常确定不涉及 rpm。

Either you installed it via apt-get or you manually installed it somewhere. Check type eclipseto find out where it lives. If you suspect a file might come from some package you can use dpkg -S filenameto check which package includes this file.

您要么通过 apt-get 安装它,要么在某处手动安装它。检查type eclipse以找出它的住所。如果您怀疑某个文件可能来自某个包,您可以使用它dpkg -S filename来检查哪个包包含此文件。

If you simply want to install another fresh eclipse you can just download it from the website extract it to a new folder and use this. - Any other (possible broken) installations should be pretty independent of this.

如果您只是想安装另一个新的 Eclipse,您可以从网站下载它,将其解压缩到一个新文件夹并使用它。- 任何其他(可能损坏的)安装都应该与此无关。