Ask Your Question
0

Having trouble installing Netbeans for Linux (Fedora)

asked 2014-02-24 19:00:15 -0600

sw3etsauce gravatar image

updated 2014-02-25 16:11:17 -0600

[user@localhost ~]$ cd Downloads
[user@localhost Downloads]$ sudo chmod +x netbeans-*
audit_log_user_command(): Connection refused
chmod: cannot access `netbeans-*': No such file or directory
[user@localhost Downloads]$ sudo chmod +x netbeans-7.4-javase-linux.sh
audit_log_user_command(): Connection refused
chmod: cannot access `netbeans-7.4-javase-linux.sh': No such file or directory

I tried chmod +x <file_name_here> and that didn't work either. It would just keep saying "no such file or directory."</file_name_here>

Here is some info:

 [user@localhost ~]$ uname -a 
 Linux localhost 2.6.23.9lw #104 SMP PREEMPT Sat Jun 21 19:53:40 EDT 2008 i686 i686
 i386 GNU/Linux 
 [user@localhost ~]$ cat /etc/*release 
 Fedora release 8 (Werewolf) 
 Linpus Linux Lite v1.0.3.E
 Fedora release 8 (Werewolf) 
 Fedora  release 8 (Werewolf)

UPDATE: My computer went on the "black screen of death" so I won't respond to answers since I can't do those things at the moment.

edit retag flag offensive close merge delete

Comments

Probably a 'sudo' problem. is the 'auditd' server running?

kdg1955 gravatar imagekdg1955 ( 2014-02-25 05:31:11 -0600 )edit

Could you run ls -l netbeans* to see what permissions it already has?

Instead of chmod +xing the shell script, you could also directly call it with bash netbeans-7.4-javase-linux.sh...

tomspur gravatar imagetomspur ( 2014-02-25 07:54:14 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2014-02-26 00:48:32 -0600

Floyd gravatar image

updated 2014-02-26 00:52:41 -0600

As you did, first just make the file executable by following command:

chmod +x netbeans-7.4-javase-linux.sh

And by executing the the file you will get GUI installer:

./netbeans-7.4-javase-linux.sh

"sudo" is only required if you want to install it to some directories that is required permission like /opt

Hope that helps.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-24 19:00:15 -0600

Seen: 7,439 times

Last updated: Feb 26 '14