LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-19-2009, 08:25 AM   #1
shred_eng
LQ Newbie
 
Registered: Sep 2009
Posts: 25

Rep: Reputation: 15
enemy-territory in home directory wont start - need a link or something


hi, i installed enemy territory in /home/etplayer/enemy-territory/ and created a directory
/home/bin instead of going for the default install which puts symlinks in /usr/local/bin or could be /usr/bin, and the rest of the files in /usr/local/games/enemy-territory, anyhow, and now when i type et into the terminal the game wont start.so im guessing i need to make a link somehow to kick the game into life, i tried a few crackpot ideas but they didnt work

so i need some advice..

thx,
 
Old 11-19-2009, 08:38 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
We need more information. "The game won't start" doesn't tell us anything.
 
Old 11-19-2009, 08:43 AM   #3
Count Zero
Member
 
Registered: Feb 2008
Distribution: Debian wheezy
Posts: 130

Rep: Reputation: 15
I'd use the command "whereis" to locate binary and the command "which" to locate the command

Try:

Code:
whereis et
Code:
which et
That should give you some useful info. Remember that you also need to have the executable in your PATH in order to be able to run the program.

/CZ
 
Old 11-19-2009, 09:07 AM   #4
shred_eng
LQ Newbie
 
Registered: Sep 2009
Posts: 25

Original Poster
Rep: Reputation: 15
the only other info is : i login as etplayer then type startx, then type et into shell and get : command not found

whereis and which, return nothing unfortunately, the executables are in /home/etplayer/enemy-territory/et and et.x86 and symlinks are in the bin folder i created /home/etplayer/bin

when you say: in your path, do you mean if i cd into /home/etplayer/enemy-territory/ ? because i tried that, also i cd'd into /home/etplayer/bin/
 
Old 11-19-2009, 09:16 AM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
if you cd into the directory you'll need to type
Code:
./et
(it's a security precaution; the current directory is not in the path)

By 'in your path' he means the list of directories that are searched for an executable when you type a command into the terminal. You can find out the current list by typing:
Code:
echo $PATH
You can add a directory to your path with
Code:
export PATH="$PATH:/home/etplayer/enemy-territory"
and if you add that line to the file .bashrc in your home directory it will add it automatically each time when you start bash.
 
Old 11-19-2009, 09:41 AM   #6
shred_eng
LQ Newbie
 
Registered: Sep 2009
Posts: 25

Original Poster
Rep: Reputation: 15
yeeess its working now, i have to cd into /home/etplayer/enemy-territory/ and use the ./ thing, to start it. thanks, also for the PATH info thats real useful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Enemy Territory: Quake Wars doesn't start DaBlade Linux - Games 7 03-11-2008 03:49 AM
need to link a home directory to an apache directory Melsync Linux - Server 3 09-30-2006 06:08 AM
Enemy territory wont open Geminias Linux - Software 1 07-18-2006 04:28 AM
enemy territory - join server from start cs-cam Linux - Games 1 07-21-2005 04:52 AM
Start up Script for Enemy Territory help CaptDeath Linux - Games 2 01-02-2004 06:25 PM


All times are GMT -5. The time now is 03:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration