LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question about installing a script (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-installing-a-script-836421/)

jacatone 10-05-2010 07:39 PM

Question about installing a script
 
How do you install a script if it's name is "install.sh"? Thanks.

GrapefruiTgirl 10-05-2010 07:42 PM

Scripts of that name are usually executed, not installed. Executing them installs other things. To execute it, normally you type:
Code:

./install.sh
in a terminal. You may need to be root or use `sudo` depending on your distro.. If there are other (specific) instructions, they should be in a README or INSTALL text file that came with the software.

Note that your distro's package manager will probably not know about the package that you install using this install.sh method.

catkin 10-05-2010 08:41 PM

You create it as a file on the system, ensure that it is executable and run it. Prudent to view its contents too unless you trust the source.

bsat 10-06-2010 09:40 AM

you might need to give it execute permission using the "chmod" command if it does not have it already.


All times are GMT -5. The time now is 02:37 PM.