10.10: uninstall Netbeans

Asked by peter

Hello

I would uninstall Netbeans by using the command sudo apt-get remove. But I don't know the name of the package. I have Netbeans 6.9.1. The command in the launcher is /bin/sh "/home/peter/netbeans-6.9.1/bin/netbeans".

I tried sudo apt-get remove /home/peter/netbeans-6.9.1/bin/netbeans, but it doesen't work.

Can you help. Thanks in advance.
Peter

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
marcus aurelius (adbiz) said :
#1

how did you install netbeans? through synaptic package manager? if you did, you can uninstall from there.

Revision history for this message
Hsn (alshawaf) said :
#2

you don't write the direction only the name of the program
only: netbeans
that will do it

Revision history for this message
peter (peter-neuweiler) said :
#3

Thanks marcus, thanks Hsn.

Hsn, it doesn't work:

peter@peter:~$ sudo apt-get remove netbeans
[sudo] password for peter:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package netbeans is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

I installed Netbeans not by Synaptic.
Peter.

Revision history for this message
marcus aurelius (adbiz) said :
#4

seeing that no other package will be called netbeans, you can use the wildcard *

sudo apt-get remove netbea*

you're getting the 0 to remove because it probably is named something else besides netbeans
the * will look for "netbean", "netbeans", etc.

Revision history for this message
peter (peter-neuweiler) said :
#5

It doesn't work:

peter@peter:~$ sudo apt-get remove netbea*
[sudo] password for peter:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package netbeans-6.9.1
E: Couldn't find any package by regex 'netbeans-6.9.1'
Peter

Revision history for this message
marcus aurelius (adbiz) said :
#6

well, it's obviously been removed then.

Revision history for this message
peter (peter-neuweiler) said :
#7

No, it works.
Peter

Revision history for this message
marcus aurelius (adbiz) said :
#8

SO, how did you install it then????????

Revision history for this message
peter (peter-neuweiler) said :
#9

file:///home/peter/OwnData/Forums/Answers_from_launchpad/Ubuntu/Download_Netbeans/index.html
Peter

Revision history for this message
peter (peter-neuweiler) said :
#10

The problem has solved. I found an uninstall script.
Peter

Revision history for this message
marcus aurelius (adbiz) said :
#11

well, your problem would have been solved much quicker if you told us in the first place how you installed it. installing in different ways require different methods to uninstall.