PDA

View Full Version : [ubuntu] Cant Install Games



snipe76
December 3rd, 2008, 02:36 PM
How can i install games on ubuntu 8.10?
i have some file with .sh and .tbz
can some 1 help me please?

Diabolis
December 3rd, 2008, 03:09 PM
Probably your game has a readme file where it tells you how to do it. If the .sh file its called "install", then run it like this in a terminal:


chmod +x install.sh
sudo ./install.sh

Before running anything with the sudo command, verify that it come from a trustworthy source.

A very quick guide: http://martin.ankerl.com/2007/04/19/how-to-install-anything-in-ubuntu-condensed/

snipe76
December 3rd, 2008, 03:14 PM
but which folder i put the "install" to install it?

snipe76
December 3rd, 2008, 03:19 PM
after i installed it how can i play?

Diabolis
December 3rd, 2008, 03:29 PM
Don't you have a menu option now???
If not try typing the name of the game, example:

pacman -h

*next time give more info about what you are doing, like the name of the game or any error messages, so you'll get quicker responses.

snipe76
December 3rd, 2008, 03:35 PM
ok, the name of the game is darwinia.
error:
Verifying archive integrity... All good.
Uncompressing Darwinia full 1.4.0b9........................................... ...........................
/home/snipe76/.setup8599: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

Diabolis
December 3rd, 2008, 03:43 PM
I googled the error and I'm guessing that you are on a 64 bit computer, right?

snipe76
December 3rd, 2008, 03:46 PM
how can i check it?

Diabolis
December 3rd, 2008, 03:49 PM
Execute:

uname -m
and paste the output here.

snipe76
December 3rd, 2008, 03:51 PM
i686

binbash
December 3rd, 2008, 03:53 PM
sudo apt-get install libgtk1.2

Diabolis
December 3rd, 2008, 03:55 PM
nvm, you are not on a 64 bit machine. Yep, I was just about to tell you to install that library.

snipe76
December 3rd, 2008, 03:57 PM
sudo apt-get install libgtk1.2

what it installed?

Diabolis
December 3rd, 2008, 03:58 PM
A library called libgtk1.2.

snipe76
December 3rd, 2008, 03:58 PM
sudo apt-get install libgtk1.2

woohoo thanks man!
its worked

snipe76
December 3rd, 2008, 04:00 PM
A library called libgtk1.2.

but why the installation ask for CD?

Diabolis
December 3rd, 2008, 04:02 PM
I don't know, I haven't installed it.

snipe76
December 3rd, 2008, 04:05 PM
ok i installed it now how i run it?

Diabolis
December 3rd, 2008, 04:10 PM
Just run the game.

snipe76
December 3rd, 2008, 04:12 PM
i click on the launcher in the games but nothing happan

Diabolis
December 3rd, 2008, 04:13 PM
Run it in a terminal, just as before, so you can see the error message.

snipe76
December 3rd, 2008, 04:17 PM
error:
/usr/local/games/darwinia/lib/darwinia.bin.x86: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Diabolis
December 3rd, 2008, 06:08 PM
You need another library:

sudo apt-get install libstdc++5

snipe76
December 4th, 2008, 03:19 PM
thnks! i downloaded other game and its work!
i thing the problem is in darwinia!
thnks very much people!