LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installation of program file ending in .sh (https://www.linuxquestions.org/questions/linux-newbie-8/installation-of-program-file-ending-in-sh-910317/)

ecologon 10-26-2011 01:53 PM

Installation of program file ending in .sh
 
I need to know how to install a program I downloaded, that ends in .sh

TobiSGD 10-26-2011 01:55 PM

You don't need to install that, it is a shell script, just execute it. You may have to make it executable first, you can do that with
Code:

chmod +x FILENAME

kindofabuzz 10-26-2011 02:26 PM

Code:

bash script.sh

spankbot 10-26-2011 03:16 PM

If you're looking for an appropriate directory to save the script in, it sort of depends on what the script does, but possible locations are...

~/bin
/usr/local/bin
/usr/local/sbin


All times are GMT -5. The time now is 01:20 PM.