LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2001, 06:02 PM   #1
Scerj
LQ Newbie
 
Registered: Feb 2001
Location: Yakima
Posts: 18

Rep: Reputation: 0
Question Program won't run


I'm tring to run a console game but it won't run. When I try to execute it, bash just says something like "command or program not found" I looked at the dependencies and all the required libraries and such are there and in the paths. I have Redhat 7.1

Thanks for any help
 
Old 11-04-2001, 10:26 PM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Try using the complete path to the game and make sure the permissions are set correctly.

Last edited by linuxcool; 11-04-2001 at 10:28 PM.
 
Old 11-05-2001, 08:23 AM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Find out where the executable file is (if it's a game, try /usr/games or /usr/share or something). Move into this directory and then try running the same command, but with a ./ infront, so:

instead of typing gametorun try typing ./gametorun.

if this still comes back with 'command not found' then you need to set the attributes to the file so that it is executable.

If doing the above works, then you will need to set your paths to include the games directory.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
run my program alaios Linux - General 6 07-29-2004 05:27 PM
Program to run mfo6463 Linux - Newbie 2 04-21-2004 07:28 PM
Viewing program messages when program isn't run from command line? Locura Linux - Software 1 09-27-2003 08:19 AM
how to run program? newbe45 Linux - Newbie 31 07-24-2003 09:49 AM
want to run my C program........ gurpreetpall Programming 4 03-22-2002 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 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
Open Source Consulting | Domain Registration