LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-17-2008, 03:19 PM   #1
yellowdart137
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
bad install file or force it to work


i have been trying to install ETQW for the last few days and this is really got me stumped.

in a nut shell i download the installer from the id software ftp and did the normal deal to install. instead it spits out a you do not have permission error. as root, after chmod -x.

the thing is i have already installed 4 other games, from the same site, with no problems at all. quake 4, doom3, ioquake3 and wolfet. all work great. i even got my wifi up and running

so here is what i do
download file, but i save it as etqw.run

as root
sh etqw.run
doesn't work
chmod -x etqw.run
sh etqw.run
doesn't work
./etqw.run
doesn't work

the file seems to be downloaded, the file size and md5 all match up.

also there seems to be few places that host the download without a bunch of hoops. so can someone provide a link to the direct download, no line waits and junk.

the site i was downloading from
ok the site bans me from posting the link, so here is how you get there. go to google and type "idsoftware ftp" the first link.
failing that what is a way to force the command to run, or how do i give it permission to run? i am root when doing this so should be no reason why i don't have permission. also i am a bit rusty on linux i am sure there is a command that can do this. something like chmod 777 or something.
 
Old 06-17-2008, 04:31 PM   #2
yellowdart137
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
long story short the installer seems to be bad? i downloaded it from 2 other locations. both idsoftware mirrors. both failed to work. i ended up finding a 1.1 installer and am using that and will need to update inside the game.

i really don't know what the problem is as i don't see ANY reports of this, although internet searches tend to be like wading in a cesspit anymore. all other games worked well, install fine. i have installed and run it before too. i recently did a reinstall and the only thing that changed was i got a 320GB hard drive.

if i tired
./etqw.run

bash: ./etqw.run: Permission denied
was the answer

sh etqw.run
etqw.run: etqw.run: cannot execute binary file
was the output

the thing is i installed all the games useing the same steps and i installed etqw on a prior installation with no problems with the same install. i tried downloading on a windows system and loading it on a disk(copied from disk to home of course), nope. i even tried on another linux system and got the same result. it appears the currently listed file is broken.

i should add in my years working with linux off and on NOBODY has bother to explain the whole ./ and sh deal and how it all works. i feel understanding how linux handles "executable" files would be a very important thing to teach new users, but its almost nill. i have a rather basic grasp of it, but would like to know more.
 
Old 06-17-2008, 07:38 PM   #3
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
chmod +x

you can do 'ls -l' to see what the permissions are and who it belongs to. You can find everything you need to know if you google for "chmod howto" and "chown howto" There's not much to it.

The '.' just means "this directory" alternative to giving the full path. If an executable is not in /bin or /usr/bin you need to give the full path in order to execute it, hence the ./

.sh is just to clarify things. linux doesn't care about file extentions, that's also why you need to make it executable before it knows what to do with it.
If you are root, it doesn't matter who the file belongs to, so need to use chown here.

Last edited by oskar; 06-17-2008 at 07:46 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh brute force, how do they work? galle Linux - Security 3 03-10-2006 06:58 AM
Am I just that bad? I can't even get a PDF file to work in windows? Valael Linux - General 5 01-06-2004 09:23 PM
wrong fs type ,bad option, bad superblock on /dev/hda3, or too many mounted file syst Vencalator Linux - Newbie 4 09-20-2003 01:58 PM
'force user' options does not work? Cps530 Linux - Security 2 10-04-2002 06:16 AM
wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file sy TheCyberDude Linux - Software 1 02-11-2002 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration