LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Program won't run (https://www.linuxquestions.org/questions/linux-general-1/program-wont-run-8316/)

Scerj 11-04-2001 06:02 PM

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

linuxcool 11-04-2001 10:26 PM

Try using the complete path to the game and make sure the permissions are set correctly.

Thymox 11-05-2001 08:23 AM

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.


All times are GMT -5. The time now is 12:33 AM.