Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sudo: ./install.sh: command not found is not working on Lion

I've been following this tutorial in order to get SimpleOpenNI installed on my mac but I keep getting stuck at installing the OpenNI and NITE components because it requires me to navigate to the folders in Terminal and then run "sudo ./install.sh". I do this and I get this error:

sudo: ./install.sh: command not found

I've installed Command Line Tools in Xcode and everything.

Thanks

like image 405
Amandah Wood Avatar asked Feb 10 '13 21:02

Amandah Wood


People also ask

How use Sudo install sh?

first open Terminal, type cd and than drag the map into Terminal and press enter. Now type sudo ./install.sh and it will work.

What does sudo sh do?

This line tells sudo: When the user kent executes the script /tmp/test/cpvimrc.sh with sudo, the sudo command will run the script as root without asking for a password.

What is install sh?

The Centrify Agent installation script, install.sh, is a shell script that you can run interactively or configure to run silently on any supported UNIX, Linux, or Mac OS X computer. You can use the install.sh shell script to upgrade any installed Centrify software except Centrify sudo.


1 Answers

The reason why that happens is because the script you are trying to execute needs the right permissions.

Type:

sudo chmod a+x install.sh

and then try again.

like image 99
nibbana Avatar answered Nov 06 '22 06:11

nibbana