aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNer'zhul <nerzhul@users.noreply.github.com>2015-02-20 10:35:39 +0100
committerNer'zhul <nerzhul@users.noreply.github.com>2015-02-20 10:35:39 +0100
commit109f0ffeab1e38a74cfc7ec4787548ed8a6230b5 (patch)
treede5f2443e499e6b335af085f96e194022fc76cd5
parente357577cb2c18fe29610ed406e01d8d1fda6bb89 (diff)
downloadminetest-109f0ffeab1e38a74cfc7ec4787548ed8a6230b5.tar.gz
minetest-109f0ffeab1e38a74cfc7ec4787548ed8a6230b5.tar.bz2
minetest-109f0ffeab1e38a74cfc7ec4787548ed8a6230b5.zip
update README.txt
* prefix apt-get with sudo * git clone minetest_game without going to folder * execute minetest binary without going into bin folder
-rw-r--r--README.txt11
1 files changed, 4 insertions, 7 deletions
diff --git a/README.txt b/README.txt
index 774dc6639..a3aa9e6b3 100644
--- a/README.txt
+++ b/README.txt
@@ -103,21 +103,19 @@ Compiling on GNU/Linux:
-----------------------
Install dependencies. Here's an example for Debian/Ubuntu:
-$ 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
+$ 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
You can install git for easily keeping your copy up to date.
If you dont want git, read below on how to get the source without git.
This is an example for installing git on Debian/Ubuntu:
-$ apt-get install git-core
+$ sudo apt-get install git-core
Download source (this is the URL to the latest of source repository, which might not work at all times) using git:
$ git clone --depth 1 https://github.com/minetest/minetest.git
$ cd minetest
Download minetest_game (otherwise only the "Minimal development test" game is available) using git:
-$ cd games/
-$ git clone --depth 1 https://github.com/minetest/minetest_game.git
-$ cd ..
+$ git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
Download source, without using git:
$ wget https://github.com/minetest/minetest/archive/master.tar.gz
@@ -136,8 +134,7 @@ $ cmake . -DRUN_IN_PLACE=1
$ make -j2
Run it:
-$ cd bin
-$ ./minetest
+$ ./bin/minetest
- Use cmake . -LH to see all CMake options and their current state
- If you want to install it system-wide (or are making a distribution package), you will want to use -DRUN_IN_PLACE=0