File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -103,21 +103,19 @@ Compiling on GNU/Linux:
103
103
-----------------------
104
104
105
105
Install dependencies. Here's an example for Debian/Ubuntu:
106
- $ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libjsoncpp-dev
106
+ $ sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libjsoncpp-dev
107
107
108
108
You can install git for easily keeping your copy up to date.
109
109
If you dont want git, read below on how to get the source without git.
110
110
This is an example for installing git on Debian/Ubuntu:
111
- $ apt-get install git-core
111
+ $ sudo apt-get install git-core
112
112
113
113
Download source (this is the URL to the latest of source repository, which might not work at all times) using git:
114
114
$ git clone --depth 1 https://github.com/minetest/minetest.git
115
115
$ cd minetest
116
116
117
117
Download minetest_game (otherwise only the "Minimal development test" game is available) using git:
118
- $ cd games/
119
- $ git clone --depth 1 https://github.com/minetest/minetest_game.git
120
- $ cd ..
118
+ $ git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
121
119
122
120
Download source, without using git:
123
121
$ wget https://github.com/minetest/minetest/archive/master.tar.gz
@@ -136,8 +134,7 @@ $ cmake . -DRUN_IN_PLACE=1
136
134
$ make -j2
137
135
138
136
Run it:
139
- $ cd bin
140
- $ ./minetest
137
+ $ ./bin/minetest
141
138
142
139
- Use cmake . -LH to see all CMake options and their current state
143
140
- If you want to install it system-wide (or are making a distribution package), you will want to use -DRUN_IN_PLACE=0
You can’t perform that action at this time.
0 commit comments