Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
slam,


hi i m using Ubuntu 11.10 and i m trying to install ns2.34 on it,
after going to the specific path, when i m using this command,

./install

i have found the following error

error:

-bash: ./install: Permission denied


please give me a proper solution, thanx in advance.. :)
Posted
Comments
Richard MacCutchan 4-Jan-12 12:17pm    
Check the settings of the script with ls -l ./install, and adjust as necessary.
Sergey Alexandrovich Kryukov 4-Jan-12 12:25pm    
This is a permission problem; it should be run under "sudo" -- I answered, please see.
--SA

1 solution

It's normal, as installations usually require superuser permissions. Run:
sudo ./install


You will be prompted for your account login password; to pass, your account also needs to have sufficient privileges to play as a superuser. Please see: http://en.wikipedia.org/wiki/Sudo[^].

—SA
 
Share this answer
 
v2
Comments
Richard MacCutchan 4-Jan-12 12:30pm    
Of course!
Sergey Alexandrovich Kryukov 4-Jan-12 12:34pm    
Aha, thank you, Richard.
--SA
Tasawer Nawaz 4-Jan-12 12:46pm    
sori to say , i have already try this, but when i m using this , i get following error..

sudo: ./install: command not found
Espen Harlinn 4-Jan-12 16:33pm    
do a 'pwd' and 'ls -l'
Sergey Alexandrovich Kryukov 4-Jan-12 18:49pm    
I based my answer on your report in the ./install. Check up that the install file is there, check up everything "ls -l". Make sure you do this attempt on the same directory as the first one, otherwise your observation contradict to each other. I gave your the explanation of what happened, now use it. Unfortunately, I don't have access to your hard drive. Learn what install and sudo do, separately, and combine them.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900