LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to unpak .sh files (https://www.linuxquestions.org/questions/linux-general-1/how-to-unpak-sh-files-28899/)

HellBound 08-27-2002 11:36 AM

how to unpak .sh files
 
I'am trying to install the quake 3 linux demo on red hat 7.3 but how do I unpak .sh files? its acually a .gz.sh file.
Any help?

MasterC 08-27-2002 11:44 AM

./filename.sh should run that. If not, try sh filename.sh

All that a bash prompt btw.

HTH

HellBound 08-27-2002 01:16 PM

how do I open a .gz.sh file tho. When I try to sh filename.gz.sh it it doesn't appear to do anything tho after I type it it pauses for a sec but doesn't do anything that I can see.

unSpawn 08-27-2002 01:54 PM

Maybe try "file <filename>" first and see what it *really* is.

neo77777 08-27-2002 02:18 PM

Did it return a shell prompt after "it did nothing"?

HellBound 08-27-2002 02:38 PM

when I do sh filename.gz.sh
it pops window up very quick then does nothing else
when I try /filename.gz.sh it says file not found and my friend said do ./filename.gz.sh and when I did that it said bash: ./linuxq3ademo-1.11-6.x86.gz.sh: /bin/sh: bad interpreter: Permission denied
I'am in root BTW

neo77777 08-27-2002 02:54 PM

do
chmod 755 linuxq3ademo-1.11-6.x86.gz.sh
./linuxq3ademo-1.11-6.x86.gz.sh

HellBound 08-27-2002 02:57 PM

thx neo that worked now i Jsut need to get direct rendering working cuz right now it is direct rendering: no :(

j-ray 08-27-2002 02:57 PM

who's the owner of the file? maybe u have to change ownership to root to run it.
bad idea?
cheers, jens

t1mc00per 02-15-2003 06:14 PM

Just found this thread through a search - only 6 months late!
Anyhow, to install this it's:

sh linuxq3ademo-1.11-6.x86.gz.sh -xwin


All times are GMT -5. The time now is 06:59 PM.