Installing Armagetron on Ubuntu (by a noob!)

For all the help you need with Armagetron!
Post Reply
mathot
Posts: 8
Joined: Fri Sep 08, 2006 10:06 am
Location: Haarlem :: The Netherlands
Contact:

Installing Armagetron on Ubuntu (by a noob!)

Post by mathot »

Hi,

Yesterday evening I installed Ubuntu 6.1 i386 on one of my PC's. Before I only used MS Win so I am a real Linux noob :( (I did try Linux a couple of times but never really used it).

First I used the Synaptic Package Manager to install an old version of Arma, but most servers won't let me play using that old version (2.7.x). So Now I would like to install 2.8.x but I have no idea where to start. I read a couple of threads but ehh........ well there seem to be several approaches or something.

My first question is what package should I download and (try to) install?
This is the end-user package. It's what lets you play the game.

* rpm (x86)
* bin package (x86)
* dmg (universal ppc/x86)
* exe (gcc)
I only know the exe is *not* what I need this time ;-)

Then my second question will probably be or I need to install using sudo or not? And how and where! I know sudo means administrator, and I need to unpack the package somehow......

thnx in advance :-)

edit: I forgot, I found the terminal window as well :-) I guess I need to use it for this installation? (I got the feeling this sounds stupid :oops: :lol: )
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

try this method:

http://wiki.armagetronad.net/index.php/ ... n_Advanced

you may have to :

sudo ./armagetronad(-dedicated)-<VERSION>.<SYSTEM>.package -t

Then put your password in.
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Here's a general report, sort of a HOWTO, to get the game going on various distributions:
http://wiki.armagetronad.net/index.php/ ... eld_Report

The package you need to download is the bin package. The instructions refer to it as the Autopackage. And good thing you found the terminal: the commands in the instructions have to be entered there. And yes, for you, every of those commands needs to be entered with sudo in front of it, and you need to give it your password. So you get the bin package, open the terminal, enter the directory it was downloaded to ( cd <directory name> ), and enter the commands

Code: Select all

sudo apt-get update
sudo apt-get install libstdc++5 libsdl-image1.2
sudo sh ./armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package -t
You may be prompted for the password each time, and maybe for your Linux installation CD. The last command will give you the choice to install the game system wide or just for your user. See here for a bit more detailed description of what will happen: http://wiki.armagetronad.net/index.php/ ... package.29

Edit: darn, ed beat me ;) However, the apt-get step is really important, the pure autopackage method seems to be buggy.
mathot
Posts: 8
Joined: Fri Sep 08, 2006 10:06 am
Location: Haarlem :: The Netherlands
Contact:

Post by mathot »

Thanks a lot for the fast replies! :-)

I will read the docs (edit: reading right now). But for now I post where I got stuck when I tried the above:
paulus@paulus-desktop:~/arma$ dir
armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package
paulus@paulus-desktop:~/arma$ sudo sh ./armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package -t
./armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package: 28: Syntax error: "(" unexpected
paulus@paulus-desktop:~/arma$
(the update and install where without error messages, it only said the system already was up to date)
mathot
Posts: 8
Joined: Fri Sep 08, 2006 10:06 am
Location: Haarlem :: The Netherlands
Contact:

Post by mathot »

I read something about a possible error and I did:
package remove sdl_image
and then installed it again using the terminal, but it does not help.
User avatar
ed
Match Winner
Posts: 613
Joined: Mon Feb 13, 2006 12:34 pm
Location: UK

Post by ed »

did you make the file executable?

chmod 755 armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package
mathot
Posts: 8
Joined: Fri Sep 08, 2006 10:06 am
Location: Haarlem :: The Netherlands
Contact:

Post by mathot »

No I did not chmod yet, but now I did. To be sure checked the permissons:
paulus@paulus-desktop:~/arma$ chmod 755 ./armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package -v
mode of `./armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package' retained as 0755 (rwxr-xr-x)
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Ah, sorry, in the last command, the sudo isn't required. The autopackage deals with that itself. So you just do

Code: Select all

sh ./armagetronad-0.2.8.2.1.i686-generic-linux-gnu.package -t 
Maybe try "bash" instead of "sh".
mathot
Posts: 8
Joined: Fri Sep 08, 2006 10:06 am
Location: Haarlem :: The Netherlands
Contact:

Post by mathot »

I also tried an older version now ( armagetronad-0.2.8.2.i686-generic-linux-gnu.package ) but I get the same Syntax error :?
mathot
Posts: 8
Joined: Fri Sep 08, 2006 10:06 am
Location: Haarlem :: The Netherlands
Contact:

Post by mathot »

z-man wrote:Maybe try "bash" instead of "sh".
Yes, that works. And the game runs perfectly now! (did a quik test only).

Thanks a lot ed and z-man! :-)
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Cool, I updated the wiki accordingly.
User avatar
oO.k3nNy
Average Program
Posts: 85
Joined: Sat May 27, 2006 11:57 am
Contact:

Post by oO.k3nNy »

i installed arma ad just on my just reinstalled ubuntu 6.10 a min. before.
(same way: bash ./armagetronad-0.3.0.i686-generic-linux-gnu.package -t )

but i also had some problems with the following missing package:
libsdl-mixer1.2
(installed it with: sudo apt-get install libsdl-mixer1.2)

btw. if u have problems with a ati graphics card & opengl install the following driver:
xorg-driver-fglrx
( google for guides )

if your apt cant find some of these packages u need to add universe multiverse
and do a sudo apt-get update
Post Reply