Skip to content

Commit 109f0ff

Browse files
committedFeb 20, 2015
update README.txt
* prefix apt-get with sudo * git clone minetest_game without going to folder * execute minetest binary without going into bin folder
1 parent e357577 commit 109f0ff

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed
 

Diff for: ‎README.txt

+4-7
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,19 @@ Compiling on GNU/Linux:
103103
-----------------------
104104

105105
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
107107

108108
You can install git for easily keeping your copy up to date.
109109
If you dont want git, read below on how to get the source without git.
110110
This is an example for installing git on Debian/Ubuntu:
111-
$ apt-get install git-core
111+
$ sudo apt-get install git-core
112112

113113
Download source (this is the URL to the latest of source repository, which might not work at all times) using git:
114114
$ git clone --depth 1 https://github.com/minetest/minetest.git
115115
$ cd minetest
116116

117117
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
121119

122120
Download source, without using git:
123121
$ wget https://github.com/minetest/minetest/archive/master.tar.gz
@@ -136,8 +134,7 @@ $ cmake . -DRUN_IN_PLACE=1
136134
$ make -j2
137135

138136
Run it:
139-
$ cd bin
140-
$ ./minetest
137+
$ ./bin/minetest
141138

142139
- Use cmake . -LH to see all CMake options and their current state
143140
- If you want to install it system-wide (or are making a distribution package), you will want to use -DRUN_IN_PLACE=0

0 commit comments

Comments
 (0)