diff --git a/README.txt b/README.txt index 0603924..9c0c5eb 100644 --- a/README.txt +++ b/README.txt @@ -54,20 +54,22 @@ 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 +$ sudo apt install build-essential libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev git Download source, extract (this is the URL to the latest of source repository, which might not work at all times): -$ wget https://github.com/celeron55/minetest/tarball/master -O master.tar.gz -$ tar xf master.tar.gz -$ cd celeron55-minetest-286edd4 (or similar) +$ git clone https://git.minetest.land/oerkki/minetest.git +$ cd minetest +or (without git): +$ wget https://git.minetest.land/oerkki/minetest/archive/stable-0.3.tar.gz -O minetest.tar.gz +$ tar xf minetest.tar.gz +$ cd minetest Build a version that runs directly from the source directory: $ cmake . -DRUN_IN_PLACE=1 -$ make -j2 +$ make -j($nproc) 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