2

我整个下午都在努力在 ubuntu 15.10 上安装 netbeans 8.1。但是在遇到许多错误后,我决定将其卸载。问题是我不能...我执行了uninstall.sh 文件,但它显示了一个错误,在我单击卸载后,所有文件仍然存在。 在此处输入图像描述

在此处输入图像描述

我想要最后一个版本的 netbeans,所以我在官方网站上下载了安装程序,因为在存储库中它不是最新版本。

如何干净地卸载我的版本?

4

3 回答 3

5

I had the same problem.

You may want to try uninstalling using

Go to your Netbeans(/usr/local/netbeans.x.x) path than execute below command

 sudo sh uninstall.sh

..

于 2016-08-17T17:32:36.780 回答
2

第 1 步:仅卸载 netbeans sudo apt-get remove netbeans

第 2 步:卸载 netbeans 及其依赖 项 sudo apt-get remove --auto-remove netbeans

第 3 步:清除您的配置/数据 sudo apt-get purge netbeans

或者类似地,像这个 netbeans

sudo apt-get purge --auto-remove netbeans

于 2019-01-16T10:52:46.773 回答
0

最好和完美的答案是从任何版本的ubuntu中删除netbeans

sudo snap remove netbeans
于 2020-12-11T12:21:01.613 回答