summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorReedych <reedych@ya.ru>2017-11-18 00:50:08 +0700
committerparamat <mat.gregory@virginmedia.com>2017-11-19 00:20:43 +0000
commita02a36183c5a6df4fd77dcef0c5e15dbc1613844 (patch)
tree2456a6e462c4e10a17142522f4c3414eb9ec5f46 /README.md
parent3f8e2e8c38c8f4fc2ba5d044ef445123db454d99 (diff)
downloadminetest-a02a36183c5a6df4fd77dcef0c5e15dbc1613844.tar.gz
minetest-a02a36183c5a6df4fd77dcef0c5e15dbc1613844.tar.bz2
minetest-a02a36183c5a6df4fd77dcef0c5e15dbc1613844.zip
README.md: Add table of Linux dependencies
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.md b/README.md
index f32edd611..a149caae1 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,19 @@ Compiling
### Compiling on GNU/Linux
-Install dependencies. Here's an example for Debian/Ubuntu:
+#### Dependencies
+
+| Dependency | Version | Commentary |
+|------------|---------|------------|
+| GCC | 4.9+ | Can be replaced with Clang 3.4+ |
+| CMake | 2.6+ | |
+| Irrlicht | 1.7.3+ | |
+| SQLite3 | 3.0+ | |
+| LuaJIT | 2.0+ | Bundled Lua 5.1 is used if not present |
+| GMP | 5.0.0+ | Bundled mini-GMP is used if not present |
+| JsonCPP | 1.0.0+ | Bundled JsonCPP is used if not present |
+
+For Debian/Ubuntu:
$ 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
@@ -126,6 +138,8 @@ For Fedora users:
$ sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl* openal* libvorbis* 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
+#### Download
+
You can install git for easily keeping your copy up to date.
If you don’t want git, read below on how to get the source without git.
This is an example for installing git on Debian/Ubuntu:
@@ -159,6 +173,8 @@ Download minetest_game, without using git:
$ mv minetest_game-master minetest_game
$ cd ..
+#### Build
+
Build a version that runs directly from the source directory:
$ cmake . -DRUN_IN_PLACE=TRUE