LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   I Cant Run Linux Games! (https://www.linuxquestions.org/questions/linux-games-33/i-cant-run-linux-games-209647/)

Caluka 07-25-2004 10:16 PM

I Cant Run Linux Games!
 
well, first of all i want to thanks to the Admins/Mods for making this great Linux forum.Now here is my problem:
IK just Installed Linux Mandrake 10.0 and i Downloaded a game Called Pingus.
i go to game folder (under pingus directory) and i can see a executable, i run it and nothing happends!.Im not sure if i have to move it to the game folder (/usr/games/) but when i try to move it it says that im not ahutorized!.So i click to open konsole, y log in as root but i dunno the commands to move the folder from Konsole. Anyway im not sure if that is the problem, plz tell me what do you think.
(i dont have this problem with just Pingus, i also have this problems with all other games)
Thanks in advance


-Caluka

raaste 07-26-2004 01:22 AM

Umm... you can also do this:

$ su
<rootpasswd>
# nautilus

nautilus is a graphical file tool, and now that you are logged in as root user you should be able to move/copy your direcrories.
Anyway, you should use rpms, (some kind of self installing packages) they are very easy to use. try this link: ftp://mandrake.redbox.cz/Mandrake/10...-5mdk.i586.rpm
Save that rpm package to your home dir and when it is ready do this:

1. Open your terminal(=console). Now you should be in your home directory(the same dir where the rpm is).
2. then type this:
su
<your_root_password>
rpm -iv pingus-0.6.0-5mdk.i586.rpm
3. Then wait until linux has installed the package.
4. Then just type "pin" (no quotes) and press tab. It will give a list of commands that begins with pin.
5. Look at the list what is the command to play the game.
I think it will most propably be "pingus" (no quotes).
6. Enjoy?

MNKyDeth 07-26-2004 02:08 AM

If you download games that are source, like Battle for Wesnoth http://www.wesnoth.org/ you will need to do a compile job on them.

I'll use Wesnoth as an example.

1. download the game into your home directory.
2. Now in a terminal make sure you are in the home directory or where ever you downloaded the games to.
3. You will need to untar the game. Since the package ends in tar.gz this is the command you'll use to extract it in the current dir. tar -xvzf wesnoth-0.8.tar.gz
4. after the file is extracted cd into the new dir. Example: cd /home/username/wesnoth
5. Now you'll need to as user type, ./configure
6. Now type as user, make
7. Now su into root, then type make install
8. The game should be made and installed at this point from the source file.
9. The excutable is in either /usr/local/bin or /usr/bin

I did not install the game during writing this so I could be wrong on a step or 2, but, that is basically how it is done. If they make a binary for your specific distro that should make it easier for you but I am unsure how to do it with rpm's. Possibly rpm -ivh (name of file .rpm)

Something like that anyways.

Hope this helps.

motub 07-26-2004 04:50 AM

Also, many games still require the user to be a member of the "games" group before you can use them, so you might want to check/adjust that.

But installing Pingus from a Mandrake RPM so you know it's correctly installed may well solve your problem anyway.

Caluka 07-26-2004 11:10 AM

thnks guys, now finally i can play games:D
but i still dont understand what was wrong :confused:

motub 07-26-2004 11:12 AM

Tell us what you did that fixed it, and we'll explain.

Caluka 07-26-2004 11:19 AM

Ive made what MNKeyDeth said and it worked fine, but now im going to try what raaste said.But i have one more question:
When i download the RPM the download takes the name of the lastest download.I must change it to the exact name of the program that i want to install, or what??

The_Nerd 07-26-2004 12:58 PM

I bet I know what you did. You went into the pingus directory and typed "pingus" right?

That is wrong. When you are in the pingus directoy you must type "./pingus"

Thats your problem.

Caluka 07-26-2004 02:26 PM

???
im not sure about that, but il try anyway


All times are GMT -5. The time now is 12:54 PM.