我整个下午都在努力在 ubuntu 15.10 上安装 netbeans 8.1。但是在遇到许多错误后,我决定将其卸载。问题是我不能...我执行了uninstall.sh 文件,但它显示了一个错误,在我单击卸载后,所有文件仍然存在。
我想要最后一个版本的 netbeans,所以我在官方网站上下载了安装程序,因为在存储库中它不是最新版本。
如何干净地卸载我的版本?
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
..
第 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
最好和完美的答案是从任何版本的ubuntu中删除netbeans
sudo snap remove netbeans