Unable to install .sh format file of netbeans in ubuntu 11.1

Asked By 0 points N/A Posted on -
qa-featured

 

Hello experts,

I am unable to install a .sh format file of netbeans in my ubuntu 11.1.

When I tried to do this, I got this result:

"hridesh@ubuntu:~$ cd Desktop/ hridesh@ubuntu:~/Desktop$ cd full netbeans 7.2 for linux in .sh format/ hridesh@ubuntu:~/Desktop/full netbeans 7.2 for linux in .sh format$ ls how to install.txt netbeans-7.1.2-ml-linux.sh hridesh@ubuntu:~/Desktop/full netbeans 7.2 for linux in .sh format$ chmod +x netbeans-7.1.2-ml-linux.sh hridesh@ubuntu:~/Desktop/full netbeans 7.2 for linux in .sh format$ ./netbeans-7.1.2-ml-linux.sh Configuring the installer… Searching for JVM on the system… Extracting installation data..

 

Installer file /home/hridesh/Desktop/full seems to be corrupted".

Is it actually corrupted or something else is wrong ???

Please suggest me something.

SHARE
Best Answer by Michael D Dent
Answered By 10 points N/A #155052

Unable to install .sh format file of netbeans in ubuntu 11.1

qa-featured

 

Hello Waltere Stone

 

.sh is a script which is designed for Linux OS.

You should do the following:

 

Goto Terminal Apps —-> Accessories —-> Terminal

Then you should type the following exactly in your terminal:

 

cd Desktop

sudo chmod +x netbeans-*

sudo ./netbeans-*

 

complete the installation

 

It has done the job for many people!!

Best Answer
Best Answer
Answered By 40 points N/A #155053

Unable to install .sh format file of netbeans in ubuntu 11.1

qa-featured

 

Hello,
 
There is one more thing you can do regarding this problem:  Open Terminal and type sudo bash netbeans-7.1.2-ml-linux.sh.  Bash is the command which will open any script under Linux, so you should try it too.  If that doesn't help, then right mouse click on your installation file and go to properties.  Depending on your file manager, you should be able to find an "enable as executable" option.  Then just double click on the installation file and it should be fine.  Regards.

Related Questions