Yeah, if you didn't install netbeans by rpm file than there's no way yum would know about it. I was just asking since I didn't know how you installed it. That means you used the install script from oracle.
You could find where your installation directory is by using the locate system in Fedora:
locate isn't the greatest for finding files because it matches to any substring in the file path, you can reduce the noise from it a bit by adding the basename -b option (like above). This makes it only match to the last part of the file path. So I picked a uniquely named file (netbeans.css) I see in my netbeans install directory that's unlikely to exist elsewhere. This should show you where your netbeans is. Then you can use that to do the recursive remove I show at the end of this post (be careful).
I don't know why your netbeans-7.0 directory is missing its uninstall.sh script. I have it in mine.
I have an extra machine with no netbeans on it, I reran the "netbeans-7.0-ml-linux.sh" script on it and installed netbeans to my ~/local/netbeans-7.0 directory ( ~/local already existed, I just had it make netbeans-7.0 in it). When it's done there's a big "uninstall.sh" script in it (see bold):
Quote:
cd ~/local
ls -l netbeans-7.0
drwx------. 6 schlemo1 schlemo1 4096 Sep 12 18:12 apisupport/
drwx------. 2 schlemo1 schlemo1 4096 Sep 12 18:11 bin/
-rw-rw-r--. 1 schlemo1 schlemo1 6726 Apr 7 21:29 CREDITS.html
-rw-rw-r--. 1 schlemo1 schlemo1 1770 Apr 7 21:29 DISTRIBUTION.txt
drwx------. 2 schlemo1 schlemo1 4096 Sep 12 18:11 etc/
drwx------. 10 schlemo1 schlemo1 4096 Sep 12 18:12 harness/
drwx------. 8 schlemo1 schlemo1 4096 Sep 12 18:12 ide/
drwx------. 9 schlemo1 schlemo1 4096 Sep 12 18:12 java/
-rw-rw-r--. 1 schlemo1 schlemo1 2117 Apr 7 21:30 LEGALNOTICE.txt
-rw-rw-r--. 1 schlemo1 schlemo1 79587 Apr 7 21:30 LICENSE.txt
-rw-rw-r--. 1 schlemo1 schlemo1 34118 Apr 7 21:30 moduleCluster.properties
drwx------. 8 schlemo1 schlemo1 4096 Sep 12 18:12 nb/
-rw-rw-r--. 1 schlemo1 schlemo1 15822 Apr 7 21:30 netbeans.css
drwx------. 8 schlemo1 schlemo1 4096 Sep 12 18:11 platform/
drwx------. 8 schlemo1 schlemo1 4096 Sep 12 18:12 profiler/
-rw-rw-r--. 1 schlemo1 schlemo1 5496 Apr 7 21:30 README.html
drwx------. 3 schlemo1 schlemo1 4096 Sep 12 18:11 ruby/
-rw-rw-r--. 1 schlemo1 schlemo1 161704 Apr 7 21:30 THIRDPARTYLICENSE.txt
-rwx--x--x. 1 schlemo1 schlemo1 1856512 Sep 12 18:12 uninstall.sh*
drwx------. 5 schlemo1 schlemo1 4096 Sep 12 18:11 websvccommon/
|
I think you're getting confused with the configuration directory, the netbeans installation also creates a hidden directory in your home directory called .netbeans that's only for user customization, configuration and plugins. That way you can update from one version to the next and not lose your customizations. The .netbeans directory should look something like this:
Quote:
cd
ls -al .netbeans
drwx------. 4 schlemo1 schlemo1 4096 May 12 14:11 ./
drwx------. 62 schlemo1 schlemo1 4096 Sep 12 18:11 ../
drwx------. 23 schlemo1 schlemo1 4096 Sep 9 16:02 6.9/
drwx------. 20 schlemo1 schlemo1 4096 May 24 11:32 7.0/
-rw-------. 1 schlemo1 schlemo1 36 Mar 31 15:38 .superId
|
I have a 6.9 and a 7.0 since I've had two versions on there.
If you just want to totally get rid of netbeans, you don't really need the uninstaller, just do:
rm -fr ~/.netbeans
rm -fr <path to where you installed netbeans>
then go in your ide menu editor and remove the netbeans launcher.
Mark