PDA

View Full Version : [SOLVED] Problem with installing new programs



shababhsiddique
May 6th, 2009, 06:09 AM
Hello,
I am very new to ubuntu. I downloaded a free NetbeansIDE recently. The file was in .sh format. I dont know how to install it. Can any one tell me?
NetBeans community says -

you need to make the installer files executable by using the following command:
chmod +x ./<installer-file-name>

if i save the file "netbeans-6.5.1-ml-cpp-linux.sh" on desktop
should i write -

chmod +x ./home/shabab/Desktop/netbeans-6.5.1-ml-cpp-linux.sh

in the terminal window? If i do so nothing happens.

112628

please help :(

tommcd
May 6th, 2009, 07:01 AM
This is normal. If a terminal command returns with no errors then it worked. If there was a problem it would report errors. You can verify if it is executable by running:

ls -l /home/shabab/Desktop/netbeans-6.5.1-ml-cpp-linux.sh
If it is executable the file permissions will have something like: rwxrwxrwx. The "x" means executable.
Netbeans is in the Ubuntu repositories. Read these links on adding repositories and installing software in Ubuntu:
http://www.psychocats.net/ubuntu/sources
http://www.psychocats.net/ubuntu/installingsoftware

Ans welcome to the Ubuntu forums!

shababhsiddique
May 6th, 2009, 08:27 AM
This is normal. If a terminal command returns with no errors then it worked. If there was a problem it would report errors. You can verify if it is executable by running:

ls -l /home/shabab/Desktop/netbeans-6.5.1-ml-cpp-linux.shIf it is executable the file permissions will have something like: rwxrwxrwx. The "x" means executable.
Netbeans is in the Ubuntu repositories. Read these links on adding repositories and installing software in Ubuntu:
http://www.psychocats.net/ubuntu/sources
http://www.psychocats.net/ubuntu/installingsoftware

Ans welcome to the Ubuntu forums!

Thanks!
It really worked. The file is executable but when i try to run it stays still.

:)
by the way from the links you given i found NetBeans and installing it. Package Manager is downloading it would take about 1.5 hours.

rannday
May 6th, 2009, 08:36 AM
If you right-click on the file in the file's location folder, and click properties, and browse to the Permission's tab, and check the check-box which says Execute: Allow executing file as program, then the ease-of-installation will be easier.

shababhsiddique
May 7th, 2009, 06:17 PM
Thanks everybody for your kind info