PDA

View Full Version : [ubuntu] Unable to install .sh programs on Ubuntu 11.04



Itspriyank
April 30th, 2011, 05:54 PM
Hi I today installed 11.04 and tried to install netbeans 7.0. So i downloaded it from oracle.com that comes with jdk pre-bundled.


chmod +x /path/to/file.sh


/path/to/file/sh
It stuck at Starting Installation wizard only. Please help me. I have even tried to use the installer from netbeans.orghttp://www.itspriyank.com/Screenshot.png.http://www.itspriyank.com/Screenshot.png:confused::confused:

Biggy
May 18th, 2011, 07:59 PM
Right click on netbeans.sh Properties > Permissions > check Allow executing file as program. Double click netbeans.sh and click Run.

tommcd
May 19th, 2011, 06:43 AM
Itspriyank,
The terminal output is telling you what to do.

The program 'netbeans' is currently not installed. You can install it by typing:
sudo apt-get install netbeans
Netbeans is in the Ubuntu repos: http://packages.ubuntu.com/natty/netbeans
It may not be the newest netbeans, but at least it will work for you.
For future reference, you can post terminal outputs like this in code tags like I did (the # at the top of the post window) instead of posting gigantic screenshots of the terminal.

And welcome to the Ubuntu forums!

hexwind
June 23rd, 2011, 09:37 AM
Right click on netbeans.sh Properties > Permissions > check Allow executing file as program. Double click netbeans.sh and click Run.

Thanks,this worked for me :)