Since I did not install NetBeans via the Software Center (I installed it as an .sh file) I can't see an easy way of uninstalling the program.
How can I safely uninstall the program?
There will be a file named
/usr/local/netbeans-x.x if you installed netbeans with root privilege. If you installed it with a normal user account the
netbeans-X.X folder will be in your home directory. (Here x.x refers to the version number such as
Open a terminal and go to netbeans' installation directory using
cd command. Such as
Use 'su' to become superuser (type in your root password).
Then execute uninstall.sh file with the command
Alternatively, You can double click on it and choose "run in terminal" option. You need to supply the password (admin user's) to do this.
To uninstall the IDE:
Find the IDE installation directory :
In the IDE installation directory, typically in your home directory there is a directory called netbeans. Once inside it, run the uninstaller:
At the Summary page, click Uninstall.
To uninstall GlassFish Server Open Source Edition 3.1:
Locate the application server installation directory.
Linux root /usr/local/glassfish-3.1
In your home directory there is a director call glassfish look inside and you can find it, run the file :
At the Summary page, click Uninstall.
Related Question :
Simply dragging and dropping the
uninstall.sh from a home install folder to a terminal activates the netbeans uninstaller.
~/netbeans x.x/ and execute
Also, if you installed glassfish or tomcat, look for their respective folders in ~/ and execute their uninstaller.
Ok here's a more sophisticated process. Open synaptic and search for "nautilus execute". Install it.
/usr/local/netbeans and find the
Upon finding right click on it. You will now see a option "execute as" in the context menu. Select that and select "root".
Thats it. Now wait for some moment and the un-installation wizard will show up. Now follow the on screen dialogue.
Note: You need to delete
netbeans-derby etc folders from your home folder manually.
Don't get confuse with codes. Here is the simplest way to Uninstall Netbeans..
Select NetBeans-8.1Beta (if you are using another version then select your version)
Open Terminal (alt+ctrl+T)
Drag uninstall.sh file to terminal window.
Uninstallation Process will be automatically intiated. :)
I understand this is an old post, but i came here looking for how to remove version 7 as i have 8 installed. I have found that it can be removed from the dash.
Ubuntu 14.04: Dash -> search netbeans (You should see two icons if you have two versions installed) -> right click the version you want removing, a button should appear toward the bottom of the information that says uninstall.
If you'd installed the netbeans through Ubuntu software center it is enough to use the same to uninstall it. It is a very simple process. Go to Ubuntu software center and select the select the netbeans ide and uninstall it.
If it is installed via terminal, then locate the netbean directory normally(usr/local/netbean) and run the uninstall file uninstall.sh.
sudo apt-get remove netbeans
Uninstall with config
sudo apt-get remove --purge netbeans
sudo apt-get install netbeans
If Universe repository in not allowed, allow it and update:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" sudo apt-get update sudo apt-get install netbeans
If your Netbeans installed with downloaed netbeans.sh file you can uninstall from its directory like
cd ~/netbeans-8.2/ #or your netbans version chmod a+x uninstall.sh ./uninstall.sh
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?