LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install a .sh (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-a-sh-78849/)

CloudDrakken 08-04-2003 09:03 AM

how to install a .sh
 
sorry about the lack of intelligence in posting this but I searched the forum and couldn't find an answer to my question ^


I'm not sure how to install a .sh file


also: I have a problem with wine/wineX, for some reason there is no configuration file and I can't run "winesetup" because it doesn't exist

Any response would be quite helpful, thanks

andrew001 08-04-2003 09:06 AM

To run a '.sh' file make sure its executeable with:

chmod +x filename.sh

And you can then run it by just typing the file name or doing

/bin/sh filename.sh

~Andrew

CloudDrakken 08-04-2003 09:10 AM

do I have to cd to the dir I put it in, like if I move the file to /usr/bin do I cd /usr/bin and then etc?

angelrod 08-04-2003 09:12 AM

Just cd to the directory where the file is and type:

./filename.sh

P:S. As Andrew said, you have to verify that the file is executable first.

CloudDrakken 08-04-2003 09:20 AM

lately I've been downloading files on my windows desktop and burning them to cd for my linux laptop because linux won't detect my modem


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