Author Topic: How to install MegaGlest 3.3.5 on Linux (in your home directory) w/o installer  (Read 1407 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
For those Linux users who do not wish to use the installer, here's a simple walkthrough for installing the game into your home directory.

You'll want to ensure you have 7-zip installed so that you can unpack the data package. On Debian and its derivates (Ubuntu etc.) you can use:
Code: [Select]
apt-get update && apt-get install p7zip-full
Then create a new directory the game will be placed in:
Code: [Select]
cd
mkdir megaglest-3.3.5
cd megaglest-3.3.5

Now you need to download the "Linux XX bit x86 binaries" and the "Full Data package". What XX is depends on the architecture your Liux distribution is optimized for. On Debian and its derivates (Ubuntu etc.) you can use the arch command to determine what you have. If it says x86_64 then you want the 64 bit version of the game, otherwise use the 32 bit version.

For example, to download the 64 bit Linux version:
Code: [Select]
wget 'http://sourceforge.net/projects/megaglest/files/megaglest_3.3.5/megaglest3.3.5_i386_64_linux_bin.tar.bz2/download'
wget 'http://sourceforge.net/projects/megaglest/files/megaglest_3.3.5/megaglest-data-3.3.5.7z/download'

Now extract the archives (I'm using the 64 bit file names again in this example) in the directory you are in:
Code: [Select]
7z x megaglest-data-3.3.5.7z
tar xjvf megaglest3.3.5_i386_64_linux_bin.tar.bz2

...and play!
Code: [Select]
./glest

Next time you want to play, you just need to:
Code: [Select]
cd ~/megaglest-3.3.5
./glest

You can, of course, also create a shortcut on your favourite window manager so that you just need to point and click to start the game in the future (and need not play around in a terminal window).
« Last Edit: 4 December 2011, 08:12:35 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything