@@ -125,57 +125,57 @@ Compiling
125
125
126
126
For Debian/Ubuntu:
127
127
128
- $ sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
128
+ sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
129
129
130
130
For Fedora users:
131
131
132
- $ sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl-devel openal-soft-devel libvorbis-devel libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel irrlicht-devel bzip2-libs gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel doxygen spatialindex-devel bzip2-devel
132
+ sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl-devel openal-soft-devel libvorbis-devel libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel irrlicht-devel bzip2-libs gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel doxygen spatialindex-devel bzip2-devel
133
133
134
134
#### Download
135
135
136
136
You can install git for easily keeping your copy up to date.
137
137
If you don’t want git, read below on how to get the source without git.
138
138
This is an example for installing git on Debian/Ubuntu:
139
139
140
- $ sudo apt-get install git
140
+ sudo apt-get install git
141
141
142
142
For Fedora users:
143
143
144
- $ sudo dnf install git
144
+ sudo dnf install git
145
145
146
146
Download source (this is the URL to the latest of source repository, which might not work at all times) using git:
147
147
148
- $ git clone --depth 1 https://github.com/minetest/minetest.git
149
- $ cd minetest
148
+ git clone --depth 1 https://github.com/minetest/minetest.git
149
+ cd minetest
150
150
151
151
Download minetest_game (otherwise only the "Minimal development test" game is available) using git:
152
152
153
- $ git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
153
+ git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
154
154
155
155
Download source, without using git:
156
156
157
- $ wget https://github.com/minetest/minetest/archive/master.tar.gz
158
- $ tar xf master.tar.gz
159
- $ cd minetest-master
157
+ wget https://github.com/minetest/minetest/archive/master.tar.gz
158
+ tar xf master.tar.gz
159
+ cd minetest-master
160
160
161
161
Download minetest_game, without using git:
162
162
163
- $ cd games/
164
- $ wget https://github.com/minetest/minetest_game/archive/master.tar.gz
165
- $ tar xf master.tar.gz
166
- $ mv minetest_game-master minetest_game
167
- $ cd ..
163
+ cd games/
164
+ wget https://github.com/minetest/minetest_game/archive/master.tar.gz
165
+ tar xf master.tar.gz
166
+ mv minetest_game-master minetest_game
167
+ cd ..
168
168
169
169
#### Build
170
170
171
171
Build a version that runs directly from the source directory:
172
172
173
- $ cmake . -DRUN_IN_PLACE=TRUE
174
- $ make -j <number of processors>
173
+ cmake . -DRUN_IN_PLACE=TRUE
174
+ make -j <number of processors>
175
175
176
176
Run it:
177
177
178
- $ ./bin/minetest
178
+ ./bin/minetest
179
179
180
180
- Use ` cmake . -LH ` to see all CMake options and their current state
181
181
- If you want to install it system-wide (or are making a distribution package),
0 commit comments