简体   繁体   English

在 Ubuntu 15.10 上卸载 Netbeans 8.1

[英]Uninstall Netbeans 8.1 on Ubuntu 15.10

I've been struggling all afternoon installing netbeans 8.1 on ubuntu 15.10.我整个下午都在努力在 ubuntu 15.10 上安装 netbeans 8.1。 But after many bugs, i decided to uninstall it.但是在经历了许多错误之后,我决定卸载它。 The problem is that I can't... I executed the uninstall.sh file but it shows me an error and after I click uninstall, all the files are still there.问题是我不能...我执行了 uninstall.sh 文件,但它显示了一个错误,在我单击卸载后,所有文件仍然存在。 在此处输入图片说明

在此处输入图片说明

I wanted the last version of netbeans so I downloaded the installer on the official site because on the repository it's not the latest version.我想要最新版本的 netbeans,所以我在官方网站上下载了安装程序,因为在存储库中它不是最新版本。

How can I uninstall my version cleanly ?如何干净地卸载我的版本?

I had the same problem.我有同样的问题。

You may want to try uninstalling using您可能想尝试使用卸载

Go to your Netbeans( /usr/local/netbeans.xx ) path than execute below command转到您的 Netbeans( /usr/local/netbeans.xx ) 路径,然后执行以下命令

 sudo sh uninstall.sh

.. ..

STEP 1: Uninstall just netbeans sudo apt-get remove netbeans第 1 步:只卸载 netbeans sudo apt-get remove netbeans

STEP 2: Uninstall netbeans and its dependencies sudo apt-get remove --auto-remove netbeans第 2 步:卸载 netbeans 及其依赖项sudo apt-get remove --auto-remove netbeans

STEP 3: Purging your config/data too sudo apt-get purge netbeans第 3 步:也清除您的配置/数据sudo apt-get purge netbeans

Or similarly, like this netbeans或者类似的,像这个netbeans

sudo apt-get purge --auto-remove netbeans sudo apt-get purge --auto-remove netbeans

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

sudo snap remove netbeans

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM