Loading...
  OR  Zero-K Name:    Password:   

Post edit history

[DownloadLinux] Alternate linux download instructions

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
5/18/2024 1:34:48 AMUSrankPLT_Whistle before revert after revert
5/17/2024 10:23:55 PMchaplol before revert after revert
1/17/2019 5:34:25 PMFIrankVermind before revert after revert
1/17/2019 5:32:31 PMFIrankVermind before revert after revert
1/17/2019 5:31:45 PMFIrankVermind before revert after revert
1/17/2019 5:30:23 PMFIrankVermind before revert after revert
1/17/2019 5:29:52 PMFIrankVermind before revert after revert
3/15/2016 8:21:04 AMAUrankSortale before revert after revert
Before After
1 = Linux (alternate instructions) = 1 = Linux (alternate instructions) =
2 == Install of Zero-K dependencies == 2 == Install of Zero-K dependencies ==
3 First you need to install Mono, 7zip, Wget, and Xprintidle to make the lobby function properly. 3 First you need to install Mono, 7zip, Wget, and Xprintidle to make the lobby function properly.
4 \n 4 \n
5 === On Debian or Ubuntu === 5 === On Debian or Ubuntu ===
6 Find & install them using Software Center, or use the terminal: 6 Find & install them using Software Center, or use the terminal:
7 {{{ 7 {{{
8 sudo apt-get install mono-complete xprintidle p7zip-full wget 8 sudo apt-get install mono-complete xprintidle p7zip-full wget
9 }}} 9 }}}
10 \n 10 \n
11 === On Manjaro or Arch Linux === 11 === On Manjaro or Arch Linux ===
12 Most dependencies should already be installed, but you may need mono: 12 Most dependencies should already be installed, but you may need mono:
13 {{{ 13 {{{
14 # installing mono package 14 # installing mono package
15 $ sudo pacman -S mono 15 $ sudo pacman -S mono
16 }}} 16 }}}
17 \n 17 \n
18 == Download and run the game (GUI) == 18 == Download and run the game (GUI) ==
19 Install the game itself. Download from http://zero-k.info/lobby/Zero-K.exe and place it in a folder of your choice. Zero-K will store & look for maps and game components in the directory that you place the game exe in. It will automatically download the game engine (currently Spring 100), the Zero-K module, and maps when you join a battle. 19 Install the game itself. Download from http://zero-k.info/lobby/Zero-K.exe and place it in a folder of your choice. Zero-K will store & look for maps and game components in the directory that you place the game exe in. It will automatically download the game engine (currently Spring 100), the Zero-K module, and maps when you join a battle.
20 \n 20 \n
21 To start the game, run Zero-K.exe with Mono runtime. 21 To start the game, run Zero-K.exe with Mono runtime.
22 \n 22 \n
23 == Download and run the game (Terminal) == 23 == Download and run the game (Terminal) ==
24 \n 24 \n
25 === Optional: make game directory inside user home === 25 === Optional: make game directory inside user home ===
26 {{{ 26 {{{
27 cd ~ 27 cd ~
28 mkdir Zero-K 28 mkdir Zero-K
29 cd Zero-K 29 cd Zero-K
30 }}} 30 }}}
31 \n 31 \n
32 === Download the game using terminal and run it === 32 === Download the game using terminal and run it ===
33 {{{ 33 {{{
34 wget http://zero-k.info/lobby/Zero-K.exe 34 wget http://zero-k.info/lobby/Zero-K.exe
35 mono Zero-K.exe 35 mono Zero-K.exe
36 }}} 36 }}}
37 \n 37 \n
38 When you join a battle and press Start, if the game does not run, you may need SDL2. Versions of Ubuntu older than 13.10 do not have sdl2 in their default repositories. To install sdl2 in newer versions of Ubuntu: 38 When you join a battle and press Start, if the game does not run, you may need SDL2. Versions of Ubuntu older than 13.10 do not have sdl2 in their default repositories. To install sdl2 in newer versions of Ubuntu:
39 {{{ 39 {{{
40 sudo apt-get install libsdl2-2.0-0 40 sudo apt-get install libsdl2-2.0-0
41 }}} 41 }}}
42 Manjaro / Arch users can use a similar pacman command. 42 Manjaro / Arch users can use a similar pacman command.
43 \n 43 \n
44 == Troubleshooting == 44 == Troubleshooting ==
45 \n 45 \n
46 In case you join a room using Spring 100 and download failed, you can try download it directly and extract it to [YOUR-DATADIR]/engine/100 : 46 In case you join a room using Spring 100 and download failed, you can try download it directly and extract it to [YOUR-DATADIR]/engine/100 :
47 * Go to http://springrts.com/dl/buildbot/default/master/ and folder with latest engine 47 * Go to http://springrts.com/dl/buildbot/default/master/ and folder with latest engine
48 * Pick *minimal-portable-linux64-static.7z* or *minimal-portable-linux32-static.7z* 48 * Pick *minimal-portable-linux64-static.7z* or *minimal-portable-linux32-static.7z*
49 \n 49 \n
50 Spring requires libstdc++.so.6, sdl-1.2 and a few other things (use ldd) to run. You can get them by installing Spring package from repository, find & install them using the Software Center, or enter the following in terminal: 50 Spring requires libstdc++.so.6, sdl-1.2 and a few other things (use ldd) to run. You can get them by installing Spring package from repository, find & install them using the Software Center, or enter the following in terminal:
51 {{{ 51 {{{
52 sudo apt-add-repository ppa:spring/ppa 52 sudo apt-add-repository ppa:spring/ppa
53 sudo apt-get update 53 sudo apt-get update
54 sudo apt-get install spring 54 sudo apt-get install spring
55 sudo apt install libcanberra-gtk-module libopenal1 55 sudo apt install libcanberra-gtk-module libopenal1
56 }}} 56 }}}
57 \n 57 \n
58 Optionally, if you want to manually compile spring yourself, first install its dependencies: 58 Optionally, if you want to manually compile spring yourself, first install its dependencies:
59 {{{ 59 {{{
60 sudo apt-get install build-essential cmake cmake-gui git 60 sudo apt-get install build-essential cmake cmake-gui git
61 sudo apt-get install libglew-dev libsdl-dev libdevil-dev libopenal-dev libogg-dev libvorbis-dev libfreetype6-dev 61 sudo apt-get install libglew-dev libsdl-dev libdevil-dev libopenal-dev libogg-dev libvorbis-dev libfreetype6-dev
62 sudo apt-get install p7zip-full libxcursor-dev libboost-thread-dev libboost-regex-dev 62 sudo apt-get install p7zip-full libxcursor-dev libboost-thread-dev libboost-regex-dev
63 sudo apt-get install libboost-system-dev libboost-program-options-dev libboost-signals-dev 63 sudo apt-get install libboost-system-dev libboost-program-options-dev libboost-signals-dev
64 }}} 64 }}}
65 \n 65 \n
66 Then download the [https://springrts.com/wiki/Download#Source_Code source files] with Git. Navigate into that folder and: 66 Then download the [https://springrts.com/wiki/Download#Source_Code source files] with Git. Navigate into that folder and:
67 {{{ 67 {{{
68 cmake . 68 cmake .
69 make 69 make
70 sudo make install 70 sudo make install
71 }}} 71 }}}
72 \n 72 \n
73 You now have Spring installed. To make Zero-K lobby use your compiled version of spring you need to make two symlinks, one to the unitsync file and one to the spring executable. Do this by running: 73 You now have Spring installed. To make Zero-K lobby use your compiled version of spring you need to make two symlinks, one to the unitsync file and one to the spring executable. Do this by running:
74 \n 74 \n
75 {{{ 75 {{{
76 ln -s /usr/local/bin/spring [YOUR-DATADIR]/engine/100 76 ln -s /usr/local/bin/spring [YOUR-DATADIR]/engine/100
77 ln -s /usr/local/lib/libunitsync.so [YOUR-DATADIR]/engine/100 77 ln -s /usr/local/lib/libunitsync.so [YOUR-DATADIR]/engine/100
78 }}} 78 }}}
79 \n 79 \n
80 Now Zero-K Lobby will use the engine that you have compiled. 80 Now Zero-K Lobby will use the engine that you have compiled.
81 \n 81 \n